# vim: set sw=4 ts=4 et nu: # norootforbuild Name: perl-Package-DeprecationManager Version: 0.10 Release: 0 Summary: Manage deprecation warnings for your distribution Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-%{version}.tar.bz2 Patch1: perl-Package-DeprecationManager-remove_done_testing.patch URL: http://search.cpan.org/dist/Package-DeprecationManager/ Group: Development/Libraries/Perl License: Perl License BuildRoot: %{_tmppath}/build-%{name}-%{version} Requires: perl = %{perl_version} BuildRequires: make perl BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::Output) BuildRequires: perl(Params::Util) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Sub::Install) BuildRequires: perl(Test::Warn) %if 0%{?suse_version} < 1110 BuildRequires: perl-ExtUtils-MakeMaker %endif Requires: perl(List::MoreUtils) Requires: perl(Params::Util) Requires: perl(Sub::Install) %description This module allows you to manage a set of deprecations for one or more modules. %prep %setup -q -n "Package-DeprecationManager-%{version}" %__sed -i '/^auto_install/d' Makefile.PL %patch1 -p1 %build %__perl Makefile.PL PREFIX="%{_prefix}" %__make %{?jobs:-j%{jobs}} %install %perl_make_install %perl_process_packlist %check %__make test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc Changes README %dir %{perl_vendorlib}/Package %{perl_vendorlib}/Package/DeprecationManager.pm %dir %{perl_vendorarch}/auto/Package %{perl_vendorarch}/auto/Package/DeprecationManager %doc %{perl_man3dir}/Package::DeprecationManager.%{perl_man3ext}%{ext_man} /var/adm/perl-modules/%{name}