commit c8ebde409b3959ad43431b4cc595e8da9b434214 Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Tue Apr 29 19:39:25 2014 +0200 Modernize spec. - Remove some historic hacks. perl-Pod-Tests.spec | 25 +++++++++++-------------- 1 files changed, 11 insertions(+), 14 deletions(-) --- diff --git a/perl-Pod-Tests.spec b/perl-Pod-Tests.spec index e9e7853..8e79197 100644 --- a/perl-Pod-Tests.spec +++ b/perl-Pod-Tests.spec @@ -1,17 +1,20 @@ Name: perl-Pod-Tests Version: 1.19 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Extract embedded tests and code examples from POD License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Pod-Tests/ Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Pod-Tests-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Symbol) +BuildRequires: perl(strict) +BuildRequires: perl(vars) BuildRequires: perl(Test::Harness) >= 1.22 BuildRequires: perl(Test::More) >= 0.33 @@ -19,9 +22,7 @@ BuildRequires: perl(Test::More) >= 0.33 BuildRequires: perl(Test::CPAN::Meta) >= 0.12 BuildRequires: perl(Test::Pod) >= 1.26 BuildRequires: perl(Test::MinimumVersion) >= 0.008 -# N/A in Fedora -# BuildRequires: perl(Pod::Simple) >= 3.07 -BuildRequires: perl(Pod::Simple) +BuildRequires: perl(Pod::Simple) >= 3.07 %description Pod::Tests extracts embedded tests and code examples from POD. @@ -35,22 +36,14 @@ pod2test convert embedded tests and code examples to .t files. make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* - -%clean -rm -rf $RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* %check -# remove test until Perl-MinimumVersion will be fixed -rm -rf t/99_pmv.t make test AUTOMATED_TESTING=1 %files -%defattr(-,root,root,-) %doc Changes LICENSE %{_bindir}/* %{perl_vendorlib}/Pod @@ -58,6 +51,10 @@ make test AUTOMATED_TESTING=1 %{_mandir}/man3/* %changelog +* Tue Apr 29 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 1.19-15 +- Modernize spec. +- Remove some historic hacks. + * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.19-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild -- 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