Compare commits

..

No commits in common. "28d6a3b4b157978e6f8a954adf26ebcbe75c2593" and "3a444432cea9142a9ae23d5e273f64be0b258e98" have entirely different histories.

4 changed files with 9 additions and 19 deletions

BIN
XML-XPath-1.42.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -3,9 +3,9 @@
#Basic Information
Name: perl-XML-XPath
Version: 1.47
Release: 1
Summary: Parse and evaluate XPath statementsr
Version: 1.42
Release: 5
Summary: XPath parser and evaluator for Perl
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
@ -20,6 +20,7 @@ BuildRequires: perl(Carp) perl(CPAN::Meta) perl(Data::Dumper)
BuildRequires: perl(Exporter) perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(IO::File) perl(Path::Tiny) >= 0.076
BuildRequires: perl(POSIX) perl(Scalar::Util) perl(Test)
BuildRequires: perl(Test::CPAN::Meta) perl(Test::CPAN::Meta::JSON)
BuildRequires: perl(Test::More) perl(XML::Parser) >= 2.23
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(POSIX) perl(warnings) perl(XML::Parser) >= 2.23
@ -34,7 +35,7 @@ this as they support functionality beyond XPath.
#Build sections
%prep
%autosetup -p1 -n XML-XPath-%{version}
%setup -q -n XML-XPath-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
@ -44,8 +45,10 @@ make %{?_smp_mflags}
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 << EOF
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/
cat >> $RPM_BUILD_ROOT/%{_mandir}/man1/xpath.1 << EOF
.so man3/XML::XPath.3pm
EOF
%check
make test
@ -62,15 +65,6 @@ make test
%{_mandir}/man3/*.3*
%changelog
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.47-1
- Upgrade to version 1.47
* Fri Jan 29 2021 liudabo <liudabo1@huawei.com> - 1.44-1
- upgrade version to 1.44
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.42.0-6
- Remove buildrequires
* Wed Jan 08 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.42.0-5
- Package init

View File

@ -1,4 +0,0 @@
version_control: metacpan
src_repo: XML-XPath
tag_prefix: "^v"
seperator: "."