[perl-XML-LibXSLT] 1.71 bump
Petr Sabata
psabata at fedoraproject.org
Mon Sep 19 09:43:45 UTC 2011
commit 931c067bde8d918cd608458d928ff72459882b9b
Author: Petr Sabata <contyk at redhat.com>
Date: Mon Sep 19 11:42:28 2011 +0200
1.71 bump
.gitignore | 1 +
perl-XML-LibXSLT.spec | 32 +++++++++++++++-----------------
sources | 2 +-
3 files changed, 17 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5d4c794..25bfc63 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
XML-LibXSLT-1.70.tar.gz
+/XML-LibXSLT-1.71.tar.gz
diff --git a/perl-XML-LibXSLT.spec b/perl-XML-LibXSLT.spec
index 48eb590..9bd58b9 100644
--- a/perl-XML-LibXSLT.spec
+++ b/perl-XML-LibXSLT.spec
@@ -1,28 +1,21 @@
-%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
-
Name: perl-XML-LibXSLT
-
# NOTE: also update perl-XML-LibXML to a compatible version. See below why.
-Version: 1.70
-Release: 8%{?dist}
-
+Version: 1.71
+Release: 1%{?dist}
Summary: Perl module for interfacing to GNOME's libxslt
-
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/XML-LibXSLT/
Source0: http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXSLT-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: libxslt-devel >= 1.1.18, gdbm-devel, libgcrypt-devel, libgpg-error-devel
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
+BuildRequires: perl(XML::LibXML) >= %{version}
+Requires: perl(XML::LibXML) >= %{version}
%description
This module is a fast XSLT library, based on the Gnome libxslt engine
@@ -34,15 +27,15 @@ that you can find at http://www.xmlsoft.org/XSLT/
%setup -q -n XML-LibXSLT-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
-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 {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w %{buildroot}/*
%check
make test
@@ -55,6 +48,11 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Mon Sep 19 2011 Petr Sabata <contyk at redhat.com> - 1.71-1
+- 1.71 bump
+- Remove BuildRoot tag
+- Remove useless vendorarch macro definition
+
* Wed Jul 20 2011 Petr Sabata <contyk at redhat.com> - 1.70-8
- Perl mass rebuild
diff --git a/sources b/sources
index 7abef0b..97941c8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c63a7913999de076e5c911810f69b392 XML-LibXSLT-1.70.tar.gz
+6a2fc4a3b2d7f0cc02b6cbd0cac7ee7b XML-LibXSLT-1.71.tar.gz
More information about the perl-devel
mailing list