From 3e36e5355210bc5cd899fc07682d25499c663bf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <[email protected]>
Date: Thu, 23 Mar 2017 13:50:50 +0100
Subject: Update to 0.22 (RHBZ#1435194). Modernize spec.
---
.gitignore | 2 +-
perl-HTML-Selector-XPath.spec | 21 +++++++++------------
sources | 2 +-
3 files changed, 11 insertions(+), 14 deletions(-)
diff --git a/.gitignore b/.gitignore
index 35e0d6f..04f53ca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/HTML-Selector-XPath-0.20.tar.gz
+/HTML-Selector-XPath-0.22.tar.gz
diff --git a/perl-HTML-Selector-XPath.spec b/perl-HTML-Selector-XPath.spec
index 5f0b9c4..32d495b 100644
--- a/perl-HTML-Selector-XPath.spec
+++ b/perl-HTML-Selector-XPath.spec
@@ -1,6 +1,6 @@
Name: perl-HTML-Selector-XPath
-Version: 0.20
-Release: 2%{?dist}
+Version: 0.22
+Release: 1%{?dist}
Summary: CSS Selector to XPath compiler
License: GPL+ or Artistic
Group: Development/Libraries
@@ -34,23 +34,16 @@ 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}
+%{__make} %{?_smp_mflags}
%install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-make test
+%{__make} test
%files
%doc Changes README
@@ -58,6 +51,10 @@ make test
%{_mandir}/man3/*
%changelog
+* Thu Mar 23 2017 Ralf Corsépius <[email protected]> - 0.22-1
+- Update to 0.22 (RHBZ#1435194).
+- Modernize spec.
+
* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> -
0.20-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/sources b/sources
index cb60431..ba274f0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b1b6a91355ac82231a8d94c8b258462b HTML-Selector-XPath-0.20.tar.gz
+SHA512 (HTML-Selector-XPath-0.22.tar.gz) =
e24757da0a547b70643e2902b56eacbfd91fabbf608c51defc848ae1945c038a7b56ff624a57c3c4f9741622deec5860a3c3383669b20505e5b2d686f38b6b90
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-HTML-Selector-XPath.git/commit/?h=f24&id=3e36e5355210bc5cd899fc07682d25499c663bf2
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]