%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(XML::Parser\\)$ Name: perl-XML-XPath Version: 1.42 Release: 5 Summary: Parse and evaluate XPath statements License: Artistic 2.0 and (GPL+ or Artistic) URL: https://metacpan.org/release/XML-XPath Source0: https://cpan.metacpan.org/authors/id/M/MA/MANWAR/XML-XPath-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(warnings) perl(Carp) perl(Data::Dumper) perl(Exporter) perl(IO::File) perl(overload) BuildRequires: perl(Scalar::Util) perl(vars) perl(XML::Parser) >= 2.23 perl(lib) perl(open) BuildRequires: perl(Path::Tiny) >= 0.076 perl(Test) perl(Test::More) perl(utf8) perl(CPAN::Meta) BuildRequires: perl(Test::CPAN::Meta) perl(Test::CPAN::Meta::JSON) perl(POSIX) perl(strict) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(POSIX) perl(warnings) perl(XML::Parser) >= 2.23 %description This module is designed to fully comply with the XPath specification in the following areas: http://www.w3.org/TR/xpath, but allows extensions to be added to Functional form.Modules such as XSLT and XPointer may need to be executed,this is because they support features other than XPath. %package help Summary: Help document for the perl-XML-XPath package %description help Help document for the perl-XML-XPath package. %prep %autosetup -n XML-XPath-%{version} -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 %make_build %install make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* install -d $RPM_BUILD_ROOT/%{_mandir}/man1/ echo .so man3/XML::XPath.3pm >> $RPM_BUILD_ROOT/%{_mandir}/man1/xpath.1 %check make test %files %doc Changes README TODO LICENSE %{_bindir}/xpath %{perl_vendorlib}/XML %files help %{_mandir}/man1/xpath* %{_mandir}/man3/*.3* %changelog * Tue Nov 19 2019 wangzhishun - 1.42.5 - Package init