perl-Package-DeprecationManager-vl.spec 4.2 KB

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