[perl-XML-Atom] use perl_default_filter and DESTDIR

Iain Arnell iarnell at fedoraproject.org
Sat Jun 25 10:27:59 UTC 2011


commit e5fcb065e2313f95c5759badcdb43aa3124dcd91
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sat Jun 25 12:25:39 2011 +0200

    use perl_default_filter and DESTDIR

 perl-XML-Atom.spec |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/perl-XML-Atom.spec b/perl-XML-Atom.spec
index c968e32..169fa22 100644
--- a/perl-XML-Atom.spec
+++ b/perl-XML-Atom.spec
@@ -25,6 +25,8 @@ Requires:       perl(URI)
 Requires:       perl(XML::LibXML) >= 1.69
 Requires:       perl(XML::XPath)
 
+%{?perl_default_filter}
+
 %description
 Atom is a syndication, API, and archiving format for weblogs and other
 data. XML::Atom implements the feed format as well as a client for the API.
@@ -38,7 +40,7 @@ data. XML::Atom implements the feed format as well as a client for the API.
 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 {} \;
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -55,6 +57,7 @@ make test
 %changelog
 * Sat Jun 25 2011 Iain Arnell <iarnell at gmail.com> 0.39-1
 - update to latest upstream version
+- use perl_default_filter
 
 * Wed May 25 2011 Iain Arnell <iarnell at gmail.com> 0.38-1
 - update to latest upstream version



More information about the perl-devel mailing list