commit 251a5729e5a2456236d5959abd7cde7f04956f46 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sun Oct 2 09:44:19 2011 +0200 update to 0.9054 update provides filtering to use macros .gitignore | 1 + perl-CGI-Prototype.spec | 32 +++++++++++++------------------- sources | 2 +- 3 files changed, 15 insertions(+), 20 deletions(-) --- diff --git a/.gitignore b/.gitignore index 1a81ad1..48b5951 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ CGI-Prototype-0.9053.tar.gz +/CGI-Prototype-0.9054.tar.gz diff --git a/perl-CGI-Prototype.spec b/perl-CGI-Prototype.spec index aea140a..56422bd 100644 --- a/perl-CGI-Prototype.spec +++ b/perl-CGI-Prototype.spec @@ -1,12 +1,11 @@ Name: perl-CGI-Prototype -Version: 0.9053 -Release: 13%{?dist} +Version: 0.9054 +Release: 1%{?dist} Summary: Create a CGI application by subclassing License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CGI-Prototype/ Source0: http://www.cpan.org/authors/id/M/ME/MERLYN/CGI-Prototype-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -23,6 +22,12 @@ BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) Requires: perl(Class::Prototyped) Requires: perl(Template) +%{?filter_setup: +%filter_from_provides /perl(My::/d +} +%?perl_default_filter +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(My:: + %description The core of every CGI application seems to be roughly the same: @@ -49,23 +54,11 @@ controller. perl -pi -e 's|^#! ?perl|#!/usr/bin/perl|' t/*.t t/cprove chmod -c -x t/cprove -# Filter unwanted Provides: -cat << \EOF > %{name}-prov -#!/bin/sh -%{__perl_provides} $* |\ - sed -e '/perl(My::.*)/d' -EOF - -%define __perl_provides %{_builddir}/CGI-Prototype-%{version}/%{name}-prov -chmod +x %{__perl_provides} - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf %{buildroot} - make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; @@ -79,16 +72,17 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; # plugin-before-the-base-module sorta deal. make test -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) %doc Changes README TODO t/ %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Sun Oct 02 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.9054-1 +- update to latest upstream version +- clean up spec for modern rpmbuild +- update provides filtering to use macros + * Thu Jul 21 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.9053-13 - Perl mass rebuild diff --git a/sources b/sources index fe412f7..e9f7f51 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0d09d6fcf9616789ca2efbefbc7ed401 CGI-Prototype-0.9053.tar.gz +4916d14a31c8eb66fb2643970804942d CGI-Prototype-0.9054.tar.gz -- 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