diff --git a/.gitignore b/.gitignore index 205dc91..fc5729e 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ XML-LibXSLT-1.70.tar.gz /XML-LibXSLT-1.89.tar.gz /XML-LibXSLT-1.92.tar.gz /XML-LibXSLT-1.94.tar.gz +/XML-LibXSLT-1.95.tar.gz diff --git a/XML-LibXSLT-1.92-Do-not-link-against-perl-extension-libraries.patch b/XML-LibXSLT-1.92-Do-not-link-against-perl-extension-libraries.patch deleted file mode 100644 index 4ad8f1d..0000000 --- a/XML-LibXSLT-1.92-Do-not-link-against-perl-extension-libraries.patch +++ /dev/null @@ -1,31 +0,0 @@ -From f1b7d486cbb1fb62f0e5c141f3012a38278a90bf Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Thu, 8 Jan 2015 16:37:23 +0100 -Subject: [PATCH] Do not link against perl extension libraries -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -CPAN RT #83028 - -Signed-off-by: Petr Písař ---- - Makefile.PL | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.PL b/Makefile.PL -index ce33f36..dd8468f 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -192,7 +192,7 @@ if (have_library($::is_Win32 ? "libexslt" : "exslt")) { - $config{DEFINE} .= " -DHAVE_EXSLT" - } - --$config{LIBS}.=' '.$Config{libs}; -+$config{LIBS}.=' '.$Config{perllibs}; - - if ($DEBUG) { - print "LIBS: $config{LIBS}\n"; --- -1.9.3 - diff --git a/XML-LibXSLT-1.95-Do-not-link-against-perl-extension-libraries.patch b/XML-LibXSLT-1.95-Do-not-link-against-perl-extension-libraries.patch new file mode 100644 index 0000000..9046ee0 --- /dev/null +++ b/XML-LibXSLT-1.95-Do-not-link-against-perl-extension-libraries.patch @@ -0,0 +1,31 @@ +From f1b7d486cbb1fb62f0e5c141f3012a38278a90bf Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Thu, 8 Jan 2015 16:37:23 +0100 +Subject: [PATCH] Do not link against perl extension libraries +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +CPAN RT #83028 + +Signed-off-by: Petr Písař +--- + Makefile.PL | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.PL b/Makefile.PL +index ce33f36..dd8468f 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -198,7 +198,7 @@ if (have_library($::is_Win32 ? "libexslt + $config{DEFINE} .= " -DHAVE_EXSLT" + } + +-$config{LIBS}.=' '.$Config{libs}; ++$config{LIBS}.=' '.$Config{perllibs}; + + if ($DEBUG) { + print "LIBS: $config{LIBS}\n"; +-- +1.9.3 + diff --git a/perl-XML-LibXSLT.spec b/perl-XML-LibXSLT.spec index 8b1a253..fa67ee3 100644 --- a/perl-XML-LibXSLT.spec +++ b/perl-XML-LibXSLT.spec @@ -1,14 +1,17 @@ Name: perl-XML-LibXSLT # NOTE: also update perl-XML-LibXML to a compatible version. See below why. -Version: 1.94 -Release: 5%{?dist} +Version: 1.95 +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/S/SH/SHLOMIF/XML-LibXSLT-%{version}.tar.gz # Do not link against perl extension libraries, CPAN RT#83028 -Patch0: XML-LibXSLT-1.92-Do-not-link-against-perl-extension-libraries.patch +Patch0: XML-LibXSLT-1.95-Do-not-link-against-perl-extension-libraries.patch +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl BuildRequires: perl-devel BuildRequires: perl-generators @@ -58,8 +61,8 @@ make %{?_smp_mflags} %install make pure_install DESTDIR=%{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 f -name .packlist -delete +find %{buildroot} -type f -name '*.bs' -a -size 0 -delete chmod -R u+w %{buildroot}/* %check @@ -72,6 +75,9 @@ make test %{_mandir}/man3/*.3* %changelog +* Mon Aug 01 2016 Jitka Plesnikova - 1.95-1 +- 1.95 bump + * Mon May 16 2016 Jitka Plesnikova - 1.94-5 - Perl 5.24 rebuild diff --git a/sources b/sources index 2226aeb..8b919ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a32045699c001d960d6f94891f9e853c XML-LibXSLT-1.94.tar.gz +adf26f5195e18087c89ef3e7f7d97c43 XML-LibXSLT-1.95.tar.gz