commit 93c41926ff7ef80c400c5b983c50197739e50dd5 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Fri Jun 1 09:51:11 2012 +0200 Clean spec file perl-CGI.spec | 23 ++++++----------------- 1 files changed, 6 insertions(+), 17 deletions(-) --- diff --git a/perl-CGI.spec b/perl-CGI.spec index 7d7f519..87b92fb 100644 --- a/perl-CGI.spec +++ b/perl-CGI.spec @@ -1,19 +1,18 @@ Name: perl-CGI Summary: Handle Common Gateway Interface requests and responses Version: 3.51 -Release: 5%{?dist} +Release: 6%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKSTOS/CGI.pm-%{version}.tar.gz URL: http://search.cpan.org/dist/CGI -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch - BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) >= 0.82 BuildRequires: perl(FCGI) >= 0.67 -# test +# Test BuildRequires: perl(Test::More) >= 0.80 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Obsoletes: %{name}-tests <= 3.49 %{?perl_default_filter} @@ -31,13 +30,6 @@ with built-in support for mod_perl and mod_perl2 as well as FastCGI. %prep %setup -q -n CGI.pm-%{version} -# RPM 4.8 style -%{?filter_setup: -%filter_from_provides /^perl(Fh)$/d -%filter_from_provides /^perl(MultipartBuffer)$/d -%filter_from_provides /^perl(utf8)$/d -%filter_setup -} # RPM 4.9 style %global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(Fh\\)$ %global __provides_exclude %__provides_exclude|^perl\\(MultipartBuffer\\)$ @@ -55,23 +47,20 @@ make %{?_smp_mflags} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' - %{_fixperms} %{buildroot}/* %check make test - -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) %doc README Changes %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Fri Jun 01 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 3.51-6 +- Clean spec file + * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 3.51-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_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