[packages/perl-XML-XPath] Up to 1.49
arekm
arekm at pld-linux.org
Thu Nov 19 13:13:26 CET 2026
commit 448a935e8bdfdd4c0cb0fde57456c7c4b616d18b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 19 01:13:20 2026 +0100
Up to 1.49
perl-XML-XPath.spec | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/perl-XML-XPath.spec b/perl-XML-XPath.spec
index 57b6d0b..53a8f62 100644
--- a/perl-XML-XPath.spec
+++ b/perl-XML-XPath.spec
@@ -4,15 +4,17 @@
#
%define pdir XML
%define pnam XPath
+# perl(-norequire) is a "use parent" option; XML::XPath::NodeImpl is a second package inside Node.pm
+%define _noautoreq 'perl(-norequire)' 'perl(XML::XPath::NodeImpl)'
Summary: XML::XPath - a set of modules for parsing and evaluating XPath statements
Summary(pl.UTF-8): XML::XPath - zestaw modułów do analizy i obliczania wyrażeń XPath
Name: perl-XML-XPath
-Version: 1.20
-Release: 2
+Version: 1.49
+Release: 1
License: Artistic v2.0
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/XML/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 0efb48857967094e6499de120e36b819
+Source0: https://www.cpan.org/authors/id/M/MA/MANWAR/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 1715c69812c1f78997e057152830bc93
URL: http://search.cpan.org/dist/XML-XPath/
BuildRequires: perl-XML-Parser >= 2.23
BuildRequires: perl-devel >= 1:5.8.0
@@ -36,6 +38,8 @@ XPointer, jako że obsługują funkcjonalność spoza XPath.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%{__sed} -i -e '1s,^#!/usr/bin/env perl,#!%{__perl},' examples/xpath
+
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
@@ -59,6 +63,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc Changes README TODO
%attr(755,root,root) %{_bindir}/xpath
+%{_mandir}/man1/xpath.1p*
%{perl_vendorlib}/XML/XPath.pm
%{perl_vendorlib}/XML/XPath/*.pm
%{perl_vendorlib}/XML/XPath/Node
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-XML-XPath.git/commitdiff/448a935e8bdfdd4c0cb0fde57456c7c4b616d18b
More information about the pld-cvs-commit
mailing list