[perl-Package-DeprecationManager] Update to 0.13

Paul Howarth pghmcfc at fedoraproject.org
Fri Mar 9 18:51:50 UTC 2012


commit 20a967eefae64ce67a69d82de0f82ae4479f85be
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Mar 9 18:50:34 2012 +0000

    Update to 0.13
    
    - New upstream release 0.13:
      - Fix dist.ini to not add Test::Spelling as a requirement
    - Drop %defattr, redundant since rpm 4.4
    - Test::Requires available on all supported distributions

 ...DeprecationManager-0.12-no-Test::Requires.patch |   16 ----------------
 perl-Package-DeprecationManager.spec               |   19 +++++++++----------
 sources                                            |    2 +-
 3 files changed, 10 insertions(+), 27 deletions(-)
---
diff --git a/perl-Package-DeprecationManager.spec b/perl-Package-DeprecationManager.spec
index 85b3b97..809d4a0 100644
--- a/perl-Package-DeprecationManager.spec
+++ b/perl-Package-DeprecationManager.spec
@@ -1,14 +1,14 @@
 # We need to patch the test suite if we have an old version of Test::More
 %global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
 
-# Test::Kwalitee and Test::Requires not available in EPEL < 6
+# Test::Kwalitee not yet available in EPEL < 6
 %global extra_tests_available %(expr 0%{?fedora} + 0%{?rhel} '>' 5)
 
 # Test::CPAN::Changes isn't available in EPEL-6 either, due to requirement of perl(version) ≥ 0.79
 %global cpan_changes_available %(expr 0%{?fedora} + 0%{?rhel} '>' 6)
 
 Name:		perl-Package-DeprecationManager
-Version:	0.12
+Version:	0.13
 Release:	1%{?dist}
 Summary:	Manage deprecation warnings for your distribution
 Group:		Development/Libraries
@@ -16,7 +16,6 @@ License:	Artistic 2.0
 URL:		http://search.cpan.org/dist/Package-DeprecationManager/
 Source0:	http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-%{version}.tar.gz
 Patch1:		Package-DeprecationManager-0.12-old-Test::More.patch
-Patch2:		Package-DeprecationManager-0.12-no-Test::Requires.patch
 Patch3:		Package-DeprecationManager-0.12-stopwords.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
@@ -36,10 +35,10 @@ BuildRequires:	perl(Test::NoTabs)
 BuildRequires:	perl(Test::Output)
 BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Test::Pod::Coverage)
+BuildRequires:	perl(Test::Requires)
 BuildRequires:	perl(Test::Spelling), aspell-en
 %if %{extra_tests_available}
 BuildRequires:	perl(Test::Kwalitee)
-BuildRequires:	perl(Test::Requires)
 %endif
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -58,11 +57,6 @@ the version when that feature was deprecated.
 %patch1
 %endif
 
-# If we don't have Test::Requires, we need to patch it out of the test suite
-%if ! %{extra_tests_available}
-%patch2
-%endif
-
 # "deprecations" not a common dictionary word
 %patch3
 
@@ -83,12 +77,17 @@ make test RELEASE_TESTING=1
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/Package/
 %{_mandir}/man3/Package::DeprecationManager.3pm*
 
 %changelog
+* Fri Mar  9 2012 Paul Howarth <paul at city-fan.org> - 0.13-1
+- Update to 0.13:
+  - Fix dist.ini to not add Test::Spelling as a requirement
+- Drop %%defattr, redundant since rpm 4.4
+- Test::Requires available on all supported distributions
+
 * Mon Mar  5 2012 Paul Howarth <paul at city-fan.org> - 0.12-1
 - Update to 0.12:
   - Fix tests to pass with Carp 1.25 (CPAN RT#75520)
diff --git a/sources b/sources
index 18b6b9c..60d3828 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5f7f21db151fa7f19c10cb6009a735d4  Package-DeprecationManager-0.12.tar.gz
+f81ae3c0f9bcac048eb4bff348b79f67  Package-DeprecationManager-0.13.tar.gz


More information about the scm-commits mailing list