commit 61dc6aff6d72c551408557d8ba57889481ea74b6 Author: Petr Písař <ppi...@redhat.com> Date: Wed Jan 22 14:02:08 2014 +0100
Modernize spec file perl-DBI.spec | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) --- diff --git a/perl-DBI.spec b/perl-DBI.spec index fcd0445..b9c8adc 100644 --- a/perl-DBI.spec +++ b/perl-DBI.spec @@ -126,10 +126,9 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' -find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w %{buildroot}/* # Remove Win32 specific files and man pages to avoid unwanted dependencies rm -rf %{buildroot}%{perl_vendorarch}/{Win32,DBI/W32ODBC.pm} \ -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel