commit c2c33714f717403d7a658ce6dec91a915a36d4b0 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Tue Apr 17 07:41:54 2012 -0600 clean up spec for modern rpmbuild perl-DBIx-Class-DynamicDefault.spec | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-) --- diff --git a/perl-DBIx-Class-DynamicDefault.spec b/perl-DBIx-Class-DynamicDefault.spec index 5778087..16603e9 100644 --- a/perl-DBIx-Class-DynamicDefault.spec +++ b/perl-DBIx-Class-DynamicDefault.spec @@ -7,7 +7,6 @@ Group: Development/Libraries Summary: Automatically set and update fields Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/DBIx-Class-DynamicDefault-%{version}.tar.gz Url: http://search.cpan.org/dist/DBIx-Class-DynamicDefault -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch @@ -19,6 +18,8 @@ BuildRequires: perl(Test::More) Requires: perl(DBIx::Class) +%{?perl_default_filter} + %description Automatically set and update fields with values calculated at runtime. @@ -31,22 +32,15 @@ Automatically set and update fields with values calculated at runtime. make %{?_smp_mflags} %install -rm -rf %{buildroot} - -make pure_install PERL_INSTALL_ROOT=%{buildroot} +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 Changes %{perl_vendorlib}/DBIx/Class/* %{_mandir}/man3/*.3* @@ -54,6 +48,7 @@ rm -rf %{buildroot} %changelog * Tue Apr 17 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.04-1 - update to latest upstream version +- clean up spec for modern rpmbuild * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.03-10 - 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