commit 34dda701ebad7e8b8b7b4e77653ef22b10c1d464 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Oct 24 14:54:30 2012 +0200 Modernize spec file perl-PAR-Dist.spec | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-) --- diff --git a/perl-PAR-Dist.spec b/perl-PAR-Dist.spec index cfff37a..3c90681 100644 --- a/perl-PAR-Dist.spec +++ b/perl-PAR-Dist.spec @@ -6,7 +6,6 @@ License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/PAR-Dist/ Source0: http://www.cpan.org/authors/id/R/RS/RSCHUPP/PAR-Dist-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: @@ -56,23 +55,14 @@ Digitally signed PAR distributions will also contain a SIGNATURE file. 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 \; - %{_fixperms} $RPM_BUILD_ROOT/* %check make test PERL_TEST_POD=1 -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* -- 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