[perl-Package-Stash/el4/master] - Incorporate package review suggestions (#602597) - Use %{?perl_default_filter} - Use DESTDIR inste
Paul Howarth
pghmcfc at fedoraproject.org
Fri Jul 30 12:32:01 UTC 2010
commit 96ee09303372884a6f3c8a845a0221195b782d1f
Author: Paul Howarth <pghmcfc at fedoraproject.org>
Date: Mon Jun 14 08:10:38 2010 +0000
- Incorporate package review suggestions (#602597)
- Use %{?perl_default_filter}
- Use DESTDIR instead of PERL_INSTALL_ROOT
perl-Package-Stash.spec | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/perl-Package-Stash.spec b/perl-Package-Stash.spec
index 2341ed8..e2389bc 100644
--- a/perl-Package-Stash.spec
+++ b/perl-Package-Stash.spec
@@ -1,6 +1,6 @@
Name: perl-Package-Stash
Version: 0.03
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Routines for manipulating stashes
Group: Development/Libraries
License: GPL+ or Artistic
@@ -18,6 +18,8 @@ BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?perl_default_filter}
+
%description
Manipulating stashes (Perl's symbol tables) is occasionally necessary, but
incredibly messy, and easy to get wrong. This module hides all of that behind
@@ -38,7 +40,7 @@ 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}
@@ -56,5 +58,10 @@ rm -rf %{buildroot}
%{_mandir}/man3/Package::Stash.3pm*
%changelog
+* Mon Jun 14 2010 Paul Howarth <paul at city-fan.org> - 0.03-2
+- Incorporate package review suggestions (#602597)
+ - Use %%{?perl_default_filter}
+ - Use DESTDIR instead of PERL_INSTALL_ROOT
+
* Mon Jun 7 2010 Paul Howarth <paul at city-fan.org> - 0.03-1
- Initial RPM version
More information about the perl-devel
mailing list