Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
28d6a3b4b1
!7 [sync] PR-6: Package upgrade
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-10-27 07:23:27 +00:00
wk333
7c54efae7b Package upgrade
(cherry picked from commit 25f8c748e237170f64daf5094b847562a99a3c0a)
2022-10-24 10:55:26 +08:00
openeuler-ci-bot
70c2f754e3 !5 upgrade version to 1.44
From: @run-is-pig
Reviewed-by: @openeuler-basic,@overweight,@licihua
Signed-off-by: @overweight,@licihua
2021-02-03 16:07:08 +08:00
renmingshuai
8751b528b9 upgrade version to 1.44 2021-01-29 11:33:35 +08:00
openeuler-ci-bot
c5379a7afc !4 add yaml
Merge pull request !4 from jackie_wu123/master
2020-05-09 20:12:28 +08:00
jackie_wu123
88a4ae5489 add yaml 2020-05-08 11:20:50 +08:00
openeuler-ci-bot
21fc2caed5 !3 perl-XML-XPath
Merge pull request !3 from syyhao/init
2020-01-15 17:53:01 +08:00
openeuler-basic
ece5db300c remove BuildRequires 2020-01-15 15:20:44 +08:00
openeuler-ci-bot
e93008603e !2 fix mainline build depend
Merge pull request !2 from Grooooot/master
2020-01-14 20:12:00 +08:00
Grooooot
198ae5b9ed perl-XML-XPath: remove unused buildrequire 2020-01-13 22:05:03 +08:00
4 changed files with 19 additions and 9 deletions

Binary file not shown.

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

Binary file not shown.

View File

@ -3,9 +3,9 @@
#Basic Information
Name: perl-XML-XPath
Version: 1.42
Release: 5
Summary: XPath parser and evaluator for Perl
Version: 1.47
Release: 1
Summary: Parse and evaluate XPath statementsr
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,7 +20,6 @@ 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
@ -35,7 +34,7 @@ this as they support functionality beyond XPath.
#Build sections
%prep
%setup -q -n XML-XPath-%{version}
%autosetup -p1 -n XML-XPath-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
@ -45,10 +44,8 @@ make %{?_smp_mflags}
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/
cat >> $RPM_BUILD_ROOT/%{_mandir}/man1/xpath.1 << EOF
.so man3/XML::XPath.3pm
EOF
install -d $RPM_BUILD_ROOT/%{_mandir}/man1/
echo .so man3/XML::XPath.3pm >> $RPM_BUILD_ROOT/%{_mandir}/man1/xpath.1 << EOF
%check
make test
@ -65,6 +62,15 @@ 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

4
perl-XML-XPath.yaml Normal file
View File

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