commit f169101d83d43013d910b7694e34fa11bd40f422 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sat Aug 10 08:59:58 2013 -0600 clean up spec for modern rpmbuild perl-CGI-FormBuilder.spec | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) --- diff --git a/perl-CGI-FormBuilder.spec b/perl-CGI-FormBuilder.spec index 650862f..4e10542 100644 --- a/perl-CGI-FormBuilder.spec +++ b/perl-CGI-FormBuilder.spec @@ -4,7 +4,6 @@ Version: %{cpanversion}00 Release: 1%{?dist} Summary: Easily generate and process stateful forms -Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/CGI-FormBuilder/ Source0: http://search.cpan.org/CPAN/authors/id/N/NW/NWIGER/CGI-FormBuilder-%{cpanversion}.tgz @@ -19,6 +18,8 @@ BuildRequires: perl(CGI::Session) BuildRequires: perl(CGI::FastTemplate) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%?perl_default_filter + %description The goal of CGI::FormBuilder (FormBuilder) is to provide an easy way for you to generate and process entire CGI form-based @@ -37,20 +38,14 @@ rm -f t/1a-generate.t t/2c-template-tt2.t t/2d-template-fast.t make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* +%{_fixperms} %{buildroot}/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*.3* @@ -59,6 +54,8 @@ rm -rf $RPM_BUILD_ROOT * Sat Aug 10 2013 Iain Arnell <iarnell@xxxxxxxxx> 3.0800-1 - update to latest upstream version - skip failing tests due to hash randomization +- clean up spec for modern rpmbuild +- use perl_default filter * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 3.0501-19 - 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