[perl-CPAN-Meta-YAML] Update to 0.006

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 855874bb14323187a36ee610624a4847e7c023c1
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Thu Mar 15 10:55:27 2012 +0000

    Update to 0.006
    
    - New upstream release 0.006:
      - Set back configure_requires prerequisite for ExtUtils::MakeMaker
        from 6.30 to 6.17
    - BR: perl(Test::Requires)
    - BR: perl(Test::Spelling), perl(Pod::Wordlist::hanekomu) and aspell-en to
      enable the spell checker test
    - Drop patch for building with old ExtUtils::MakeMaker versions, no longer
      needed
    - Drop support for soon-to-be-EOL RHEL-4:
      - Drop %defattr, redundant since rpm 4.4
    - Update patch for building with Test::More < 0.88

 CPAN-Meta-YAML-0.004-old-EU::MM.patch     |   11 ---------
 CPAN-Meta-YAML-0.004-old-Test::More.patch |   10 --------
 CPAN-Meta-YAML-0.006-old-Test::More.patch |   10 ++++++++
 perl-CPAN-Meta-YAML.spec                  |   35 +++++++++++++++++-----------
 sources                                   |    2 +-
 5 files changed, 32 insertions(+), 36 deletions(-)
---
diff --git a/CPAN-Meta-YAML-0.006-old-Test::More.patch b/CPAN-Meta-YAML-0.006-old-Test::More.patch
new file mode 100644
index 0000000..37fb2d6
--- /dev/null
+++ b/CPAN-Meta-YAML-0.006-old-Test::More.patch
@@ -0,0 +1,10 @@
+diff -up CPAN-Meta-YAML-0.006/xt/release/test-version.t.orig CPAN-Meta-YAML-0.006/xt/release/test-version.t
+--- CPAN-Meta-YAML-0.006/xt/release/test-version.t.orig	2012-02-07 01:51:53.000000000 +0000
++++ CPAN-Meta-YAML-0.006/xt/release/test-version.t	2012-02-07 11:48:13.912695104 +0000
+@@ -8,5 +8,5 @@ use Test::Requires {
+     'Test::Version' => 0.04,
+ };
+ 
++plan tests => 2;
+ version_all_ok;
+-done_testing;
diff --git a/perl-CPAN-Meta-YAML.spec b/perl-CPAN-Meta-YAML.spec
index af05a30..ab9a2ca 100644
--- a/perl-CPAN-Meta-YAML.spec
+++ b/perl-CPAN-Meta-YAML.spec
@@ -1,28 +1,28 @@
-# We don't really need ExtUtils::MakeMaker ≥ 6.30
-%global old_eumm %(perl -MExtUtils::MakeMaker -e 'print (($ExtUtils::MakeMaker::VERSION < 6.30) ? 1 : 0);' 2>/dev/null || echo 0)
-
 # We need to patch the test suite if we have Test::More < 0.88
 %global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
 
 Name:		perl-CPAN-Meta-YAML
-Version:	0.005
-Release:	2%{?dist}
+Version:	0.006
+Release:	1%{?dist}
 Summary:	Read and write a subset of YAML for CPAN Meta files
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/CPAN-Meta-YAML/
 Source0:	http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-YAML-%{version}.tar.gz
-Patch0:		CPAN-Meta-YAML-0.004-old-EU::MM.patch
-Patch1:		CPAN-Meta-YAML-0.004-old-Test::More.patch
+Patch1:		CPAN-Meta-YAML-0.006-old-Test::More.patch
 Patch2:		CPAN-Meta-YAML-0.004-old-Scalar::Util.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(File::Spec)
+# Version 1.113620 needed for "UTF"
+BuildRequires:	perl(Pod::Wordlist::hanekomu) >= 1.113620
 BuildRequires:	perl(Test::CPAN::Meta)
 BuildRequires:	perl(Test::More)
 BuildRequires:	perl(Test::Pod)
-# RHEL <= 6 doesn't have a recent enough perl(version) for perl(Test::Version)
+BuildRequires:	perl(Test::Requires)
+BuildRequires:	perl(Test::Spelling), aspell-en
+# RHEL ≤ 6 doesn't have a recent enough perl(version) for perl(Test::Version)
 %if 0%{?fedora} || 0%{?rhel} > 6
 BuildRequires:	perl(Test::Version)
 %endif
@@ -37,11 +37,6 @@ used for any other general YAML parsing or generation task.
 %prep
 %setup -q -n CPAN-Meta-YAML-%{version}
 
-# We don't really need ExtUtils::MakeMaker ≥ 6.30
-%if %{old_eumm}
-%patch0 -p1
-%endif
-
 # We need to patch the test suite if we have Test::More < 0.88
 %if %{old_test_more}
 %patch1 -p1
@@ -68,12 +63,24 @@ make test TEST_FILES="t/*.t xt/*/*.t"
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/CPAN/
 %{_mandir}/man3/CPAN::Meta::YAML.3pm*
 
 %changelog
+* Tue Feb  7 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 0.006-1
+- Update to 0.006:
+  - Set back configure_requires prerequisite for ExtUtils::MakeMaker
+    from 6.30 to 6.17
+- BR: perl(Test::Requires)
+- BR: perl(Test::Spelling), perl(Pod::Wordlist::hanekomu) and aspell-en to
+  enable the spell checker test
+- Drop patch for building with old ExtUtils::MakeMaker versions, no longer
+  needed
+- Drop support for soon-to-be-EOL RHEL-4:
+  - Drop %%defattr, redundant since rpm 4.4
+- Update patch for building with Test::More < 0.88
+
 * Tue Jan 10 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 0.005-2
 - Fedora 17 mass rebuild
 
diff --git a/sources b/sources
index 855a1f2..a7a0866 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b006f77a16aac0c471ed17c52e1ca648  CPAN-Meta-YAML-0.005.tar.gz
+864db5c6f6746493ce1ab27b83a3b4b9  CPAN-Meta-YAML-0.006.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux