[perl-Module-Manifest] Modernize spec file (EU::MM understands DESTDIR)

Petr Pisar ppisar at fedoraproject.org
Wed Nov 7 13:08:32 UTC 2012


commit 9271931f99c4295a2e8566761656b1be5fce4fd5
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Nov 7 14:08:14 2012 +0100

    Modernize spec file (EU::MM understands DESTDIR)

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



More information about the perl-devel mailing list