Modernize spec file (EU::MM understands DESTDIR)

epel9
Petr Písař 12 years ago
parent 92839f9752
commit 9271931f99

@ -1,6 +1,6 @@
Name: perl-Module-Manifest Name: perl-Module-Manifest
Version: 1.08 Version: 1.08
Release: 8%{?dist} Release: 9%{?dist}
Summary: Parse and examine a Perl distribution MANIFEST file Summary: Parse and examine a Perl distribution MANIFEST file
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -41,7 +41,7 @@ rm -rf inc/*
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
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 -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
@ -54,6 +54,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Wed Nov 07 2012 Petr Pisar <ppisar@redhat.com> - 1.08-9
- Modernize spec file (EU::MM understands DESTDIR)
* Thu Aug 09 2012 Petr Pisar <ppisar@redhat.com> - 1.08-8 * Thu Aug 09 2012 Petr Pisar <ppisar@redhat.com> - 1.08-8
- Modernize spec file - Modernize spec file
- Specify all dependencies - Specify all dependencies

Loading…
Cancel
Save