[5844] | 1 | Name: perl-Package-DeprecationManager |
---|
[9167] | 2 | Version: 0.13 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
[5844] | 4 | Summary: Manage deprecation warnings for your distribution |
---|
| 5 | Group: Development/Libraries |
---|
| 6 | License: Artistic 2.0 |
---|
| 7 | URL: http://search.cpan.org/dist/Package-DeprecationManager/ |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-%{version}.tar.gz |
---|
[9167] | 9 | Patch3: Package-DeprecationManager-0.12-stopwords.patch |
---|
| 10 | |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[5844] | 12 | BuildArch: noarch |
---|
| 13 | BuildRequires: perl(Carp) |
---|
| 14 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 15 | BuildRequires: perl(List::MoreUtils) |
---|
| 16 | BuildRequires: perl(Params::Util) |
---|
[9167] | 17 | BuildRequires: perl(Pod::Coverage::TrustPod) |
---|
[5844] | 18 | BuildRequires: perl(Sub::Install) |
---|
[9167] | 19 | BuildRequires: perl(Test::CPAN::Changes) |
---|
[5844] | 20 | BuildRequires: perl(Test::EOL) |
---|
| 21 | BuildRequires: perl(Test::Fatal) |
---|
| 22 | BuildRequires: perl(Test::More) |
---|
| 23 | BuildRequires: perl(Test::NoTabs) |
---|
| 24 | BuildRequires: perl(Test::Output) |
---|
| 25 | BuildRequires: perl(Test::Pod) |
---|
| 26 | BuildRequires: perl(Test::Pod::Coverage) |
---|
| 27 | BuildRequires: perl(Test::Requires) |
---|
[9167] | 28 | BuildRequires: perl(Test::Spelling) |
---|
[5844] | 29 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 30 | |
---|
| 31 | %description |
---|
| 32 | This module allows you to manage a set of deprecations for one or more modules. |
---|
| 33 | |
---|
| 34 | When you import Package::DeprecationManager, you must provide a set of |
---|
| 35 | -deprecations as a hash ref. The keys are "feature" names, and the values are |
---|
| 36 | the version when that feature was deprecated. |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %setup -q -n Package-DeprecationManager-%{version} |
---|
[9167] | 40 | # "deprecations" not a common dictionary word |
---|
| 41 | %patch3 |
---|
[5844] | 42 | |
---|
| 43 | %build |
---|
| 44 | perl Makefile.PL INSTALLDIRS=vendor |
---|
| 45 | make %{?_smp_mflags} |
---|
| 46 | |
---|
| 47 | %install |
---|
| 48 | rm -rf %{buildroot} |
---|
| 49 | make pure_install DESTDIR=%{buildroot} |
---|
| 50 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
| 51 | find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null |
---|
| 52 | %{_fixperms} %{buildroot} |
---|
| 53 | |
---|
| 54 | %check |
---|
| 55 | make test RELEASE_TESTING=1 |
---|
| 56 | |
---|
| 57 | %clean |
---|
| 58 | rm -rf %{buildroot} |
---|
| 59 | |
---|
| 60 | %files |
---|
| 61 | %defattr(-,root,root,-) |
---|
| 62 | %doc Changes LICENSE README |
---|
| 63 | %{perl_vendorlib}/Package/ |
---|
| 64 | %{_mandir}/man3/Package::DeprecationManager.3pm* |
---|
| 65 | |
---|
| 66 | %changelog |
---|
[9167] | 67 | * Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.13-1 |
---|
| 68 | - updated to 0.13 |
---|
| 69 | - dropt Patch0, 1 and 2 |
---|
| 70 | - added Patch3 to pass %%check |
---|
| 71 | - built with perl 5.16.3 |
---|
| 72 | |
---|
[5844] | 73 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.11-1 |
---|
| 74 | - initial build for Vine Linux |
---|
| 75 | |
---|
| 76 | * Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 0.11-3 |
---|
| 77 | - Fedora 17 mass rebuild |
---|
| 78 | |
---|
| 79 | * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.11-2 |
---|
| 80 | - Perl mass rebuild |
---|
| 81 | |
---|
| 82 | * Mon Jun 20 2011 Paul Howarth <paul@city-fan.org> - 0.11-1 |
---|
| 83 | - Update to 0.11: |
---|
| 84 | - Allow an empty hash for the -deprecations parameter |
---|
| 85 | - BR: perl(ExtUtils::MakeMaker) |
---|
| 86 | - BR: perl(Test::CPAN::Changes) |
---|
| 87 | - BR: perl(Pod::Coverage::TrustPod) unconditionally |
---|
| 88 | - Update patches for old ExtUtils::MakeMaker and Test::More compatibility |
---|
| 89 | |
---|
| 90 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-3 |
---|
| 91 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 92 | |
---|
| 93 | * Sat Jan 08 2011 Paul Howarth <paul@city-fan.org> - 0.10-2 |
---|
| 94 | - Update patches for old Test::More and no Test::Requires |
---|
| 95 | - perl(Pod::Coverage::TrustPod) now available everywhere except EPEL-4 |
---|
| 96 | |
---|
| 97 | * Sat Jan 08 2011 Iain Arnell <iarnell@gmail.com> - 0.10-1 |
---|
| 98 | - Update to 0.10: |
---|
| 99 | - Test suite uses Test::Fatal instead of Test::Exception |
---|
| 100 | |
---|
| 101 | * Mon Oct 18 2010 Paul Howarth <paul@city-fan.org> - 0.09-1 |
---|
| 102 | - Update to 0.09: |
---|
| 103 | - Added a compilation test |
---|
| 104 | |
---|
| 105 | * Fri Oct 15 2010 Paul Howarth <paul@city-fan.org> - 0.08-1 |
---|
| 106 | - Update to 0.08: |
---|
| 107 | - The use of regular expressions in ignores didn't really work in 0.06 |
---|
| 108 | - Added missing deps on List::MoreUtils and Test::Requires |
---|
| 109 | - Replaced Test::Warn with Test::Output in the tests |
---|
| 110 | - Made the tests actually test what they should be testing |
---|
| 111 | - BR: Test::Output rather than Test::Warn |
---|
| 112 | - Update patches |
---|
| 113 | |
---|
| 114 | * Fri Oct 15 2010 Paul Howarth <paul@city-fan.org> - 0.06-1 |
---|
| 115 | - Update to 0.06: |
---|
| 116 | - Removed hard dep on Test::Warn for the benefit of Moose |
---|
| 117 | - Fixed what looked like a bug in -ignore handling |
---|
| 118 | - The -ignore parameter now accepts regexes as well as package names |
---|
| 119 | - Update compatibility patches |
---|
| 120 | - BR: List::MoreUtils |
---|
| 121 | - BR: Test::Requires where possible, patch it out elsewhere |
---|
| 122 | |
---|
| 123 | * Tue Jul 27 2010 Paul Howarth <paul@city-fan.org> - 0.04-2 |
---|
| 124 | - Clean up for Fedora submission |
---|
| 125 | |
---|
| 126 | * Mon Jul 26 2010 Paul Howarth <paul@city-fan.org> - 0.04-1 |
---|
| 127 | - Initial RPM version |
---|