[perl-XML-LibXSLT] clean spec, comment BR on XML::LibXML, use filter on *.so
Marcela Mašláňová
mmaslano at fedoraproject.org
Fri Jun 24 12:10:51 UTC 2011
commit 522b1f1c44091443e3dd1f1941c9d3ad5176caa7
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Fri Jun 24 14:10:30 2011 +0200
clean spec, comment BR on XML::LibXML, use filter on *.so
perl-XML-LibXSLT.spec | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/perl-XML-LibXSLT.spec b/perl-XML-LibXSLT.spec
index c28e0ee..2beaf90 100644
--- a/perl-XML-LibXSLT.spec
+++ b/perl-XML-LibXSLT.spec
@@ -4,7 +4,7 @@ Name: perl-XML-LibXSLT
# NOTE: also update perl-XML-LibXML to a compatible version. See below why.
Version: 1.70
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Perl module for interfacing to GNOME's libxslt
@@ -20,6 +20,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# the package shares code with perl-XML-LibXML, we have to require a compatible version
# see https://bugzilla.redhat.com/show_bug.cgi?id=469480
# for testing is needed the same version of XML::LibXML
+# BUT XML::LibXML has new bugfix releases, but XML::LibXSLT not
BuildRequires: perl(XML::LibXML) >= 1.70
Requires: perl(XML::LibXML) >= 1.70
@@ -27,6 +28,8 @@ Requires: perl(XML::LibXML) >= 1.70
This module is a fast XSLT library, based on the Gnome libxslt engine
that you can find at http://www.xmlsoft.org/XSLT/
+%{?perl_default_filter}
+
%prep
%setup -q -n XML-LibXSLT-%{version}
@@ -35,7 +38,6 @@ that you can find at http://www.xmlsoft.org/XSLT/
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
@@ -45,11 +47,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README benchmark.pl example
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/XML
@@ -57,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3*
%changelog
+* Fri Jun 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.70-7
+- clean spec, comment BR on XML::LibXML, use filter on *.so
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.70-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list