From e5dfc3411845a1719e1397107750b692f1ae4c28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <[email protected]>
Date: Thu, 26 May 2016 05:53:57 +0200
Subject: Upstream update to 0.20.

---
 .gitignore                    |  2 +-
 perl-HTML-Selector-XPath.spec | 16 +++++++++++++---
 sources                       |  2 +-
 3 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/.gitignore b/.gitignore
index 0f0320f..35e0d6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/HTML-Selector-XPath-0.18.tar.gz
+/HTML-Selector-XPath-0.20.tar.gz
diff --git a/perl-HTML-Selector-XPath.spec b/perl-HTML-Selector-XPath.spec
index e7fcea9..72da8ae 100644
--- a/perl-HTML-Selector-XPath.spec
+++ b/perl-HTML-Selector-XPath.spec
@@ -1,6 +1,6 @@
 Name:           perl-HTML-Selector-XPath
-Version:        0.18
-Release:        7%{?dist}
+Version:        0.20
+Release:        1%{?dist}
 Summary:        CSS Selector to XPath compiler
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -8,13 +8,13 @@ URL:            
http://search.cpan.org/dist/HTML-Selector-XPath/
 Source0:        
http://www.cpan.org/authors/id/C/CO/CORION/HTML-Selector-XPath-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl >= 1:5.8.1
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.59
 
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::Base)
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(File::Slurp)
 
 BuildRequires:  perl(inc::Module::Install)
 
@@ -33,6 +33,13 @@ equivalent XPath expression.
 rm -r inc
 sed -i -e '/^inc\/.*$/d' MANIFEST
 
+%if "%{version}" == "0.20"
+# BUG in 0.20:
+#  File MANIFEST.SKIP is missing from tarball,
+#  but xt/99-manifest.t checks for it.
+sed -i -e 's, MANIFEST.SKIP ,,' xt/99-manifest.t
+%endif
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
@@ -50,6 +57,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu May 26 2016 Ralf Corsépius <[email protected]> - 0.20-1
+- Upstream update to 0.20.
+
 * Mon May 16 2016 Jitka Plesnikova <[email protected]> - 0.18-7
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index f4adeb6..cb60431 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bb46fc14bb6ea3169a6176db00cc68f6  HTML-Selector-XPath-0.18.tar.gz
+b1b6a91355ac82231a8d94c8b258462b  HTML-Selector-XPath-0.20.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-HTML-Selector-XPath.git/commit/?h=f22&id=e5dfc3411845a1719e1397107750b692f1ae4c28
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to