235753
# Run optional tests
235753
%if ! (0%{?rhel})
235753
%bcond_without perl_XML_XPath_enables_optional_test
235753
%else
235753
%bcond_with perl_XML_XPath_enables_optional_test
235753
%endif
235753
235753
Name:           perl-XML-XPath
235753
Version:        1.44
235753
Release:        11%{?dist}
235753
Summary:        XPath parser and evaluator for Perl
235753
# XML/XPath.pm, XML/XPath/PerlSAX.pm, REAME: GPL+ or Artistic
235753
# Others: Artistic 2.0
235753
License:        Artistic 2.0 and (GPL+ or Artistic)
235753
URL:            https://metacpan.org/release/XML-XPath
235753
Source0:        https://cpan.metacpan.org/authors/id/M/MA/MANWAR/XML-XPath-%{version}.tar.gz
235753
235753
BuildArch:      noarch
235753
BuildRequires:  coreutils
235753
BuildRequires:  make
235753
BuildRequires:  perl-generators
235753
BuildRequires:  perl-interpreter
235753
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
235753
BuildRequires:  perl(strict)
235753
BuildRequires:  perl(warnings)
235753
# Run-time
235753
BuildRequires:  perl(Carp)
235753
BuildRequires:  perl(Data::Dumper)
235753
BuildRequires:  perl(Exporter)
235753
BuildRequires:  perl(IO::File)
235753
BuildRequires:  perl(overload)
235753
BuildRequires:  perl(POSIX)
235753
BuildRequires:  perl(Scalar::Util)
235753
BuildRequires:  perl(vars)
235753
BuildRequires:  perl(XML::Parser) >= 2.23
235753
# Tests
235753
BuildRequires:  perl(lib)
235753
BuildRequires:  perl(open)
235753
BuildRequires:  perl(Path::Tiny) >= 0.076
235753
BuildRequires:  perl(Test)
235753
BuildRequires:  perl(Test::More)
235753
BuildRequires:  perl(utf8)
235753
# Optional tests
235753
%if %{with perl_XML_XPath_enables_optional_test}
235753
BuildRequires:  perl(CPAN::Meta)
235753
BuildRequires:  perl(Test::CPAN::Meta)
235753
BuildRequires:  perl(Test::CPAN::Meta::JSON)
235753
%endif
235753
235753
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
235753
Requires:       perl(POSIX)
235753
Requires:       perl(warnings)
235753
Requires:       perl(XML::Parser) >= 2.23
235753
235753
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(XML::Parser\\)$
235753
235753
%description
235753
This module aims to comply exactly to the XPath specification at
235753
http://www.w3.org/TR/xpath and yet allow extensions to be added in the
235753
form of functions. Modules such as XSLT and XPointer may need to do
235753
this as they support functionality beyond XPath.
235753
235753
%prep
235753
%setup -q -n XML-XPath-%{version}
235753
235753
%build
235753
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
235753
%{make_build}
235753
235753
%install
235753
%{make_install}
235753
%{_fixperms} $RPM_BUILD_ROOT/*
235753
235753
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/
235753
cat >> $RPM_BUILD_ROOT/%{_mandir}/man1/xpath.1 << EOF
235753
.so man3/XML::XPath.3pm
235753
EOF
235753
235753
%check
235753
make test
235753
235753
%files
235753
%license LICENSE
235753
%doc Changes README TODO
235753
%{_bindir}/xpath
235753
%{perl_vendorlib}/XML
235753
%{_mandir}/man1/xpath*
235753
%{_mandir}/man3/*.3*
235753
235753
%changelog
235753
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.44-11
235753
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
235753
  Related: rhbz#1991688
235753
235753
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.44-10
235753
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
235753
235753
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-9
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
235753
235753
* Tue Dec 15 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-8
235753
- Do not run optional test on RHEL
235753
235753
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-7
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
235753
235753
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-6
235753
- Perl 5.32 rebuild
235753
235753
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-5
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
235753
235753
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-4
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
235753
235753
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-3
235753
- Perl 5.30 rebuild
235753
235753
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-2
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
235753
235753
* Mon Oct 15 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-1
235753
- 1.44 bump
235753
235753
* Thu Oct 11 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.43-1
235753
- 1.43 bump
235753
235753
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-4
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
235753
235753
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.42-3
235753
- Perl 5.28 rebuild
235753
235753
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-2
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
235753
235753
* Mon Jul 31 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.42-1
235753
- 1.42 bump
235753
235753
* Fri Jul 28 2017 Petr Pisar <ppisar@redhat.com> - 1.41-1
235753
- 1.41 bump
235753
235753
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.40-4
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
235753
235753
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-3
235753
- Perl 5.26 rebuild
235753
235753
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.40-2
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
235753
235753
* Mon Nov 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-1
235753
- 1.40 bump
235753
235753
* Wed Nov 09 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.39-1
235753
- 1.39 bump
235753
235753
* Mon Oct 31 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-1
235753
- 1.38 bump
235753
235753
* Thu Jun 02 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.37-1
235753
- 1.37 bump
235753
235753
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.36-2
235753
- Perl 5.24 rebuild
235753
235753
* Thu Apr 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.36-1
235753
- 1.36 bump
235753
235753
* Mon Apr 11 2016 Petr Pisar <ppisar@redhat.com> - 1.35-1
235753
- 1.35 bump
235753
235753
* Fri Apr 08 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.34-2
235753
- Add BR perl(CPAN::Meta) (BZ#1325123)
235753
235753
* Wed Mar 09 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.34-1
235753
- 1.34 bump
235753
235753
* Mon Mar 07 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-1
235753
- 1.33 bump
235753
235753
* Wed Feb 24 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.32-1
235753
- 1.32 bump
235753
235753
* Mon Feb 22 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-1
235753
- 1.31 bump
235753
235753
* Mon Feb 08 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.30-1
235753
- 1.30 bump
235753
235753
* Thu Feb 04 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-1
235753
- 1.29 bump
235753
235753
* Mon Feb 01 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.28-1
235753
- 1.28 bump
235753
235753
* Tue Jan 26 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-1
235753
- 1.26 bump
235753
235753
* Thu Jan 21 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-1
235753
- 1.25 bump
235753
235753
* Wed Jan 20 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.24-1
235753
- 1.24 bump
235753
235753
* Wed Jan 13 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.22-1
235753
- 1.22 bump
235753
235753
* Tue Jan 12 2016 Petr Pisar <ppisar@redhat.com> - 1.21-1
235753
- 1.21 bump
235753
235753
* Mon Jan 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.20-1
235753
- 1.20 bump
235753
235753
* Fri Jan 08 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-1
235753
- 1.19 bump
235753
235753
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-28
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
235753
235753
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-27
235753
- Perl 5.22 rebuild
235753
235753
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-26
235753
- Perl 5.20 rebuild
235753
235753
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-25
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
235753
235753
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-24
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
235753
235753
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 1.13-23
235753
- Perl 5.18 rebuild
235753
235753
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-22
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
235753
235753
* Tue Oct 16 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.13-21
235753
- revert the patch. It breaks backward compatibility for some apps. 
235753
- the xpath has still man page installed.
235753
235753
* Fri Aug 24 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-20
235753
- Specify all dependencies.
235753
235753
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-19
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
235753
235753
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 1.13-18
235753
- Perl 5.16 rebuild
235753
235753
* Fri Mar 16 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.13-17
235753
- 680418 - missing man page for xpath
235753
- applied debian patch, which added POD into xpath code, but also fix debian bug(#185292)
235753
235753
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-16
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
235753
235753
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.13-15
235753
- Perl mass rebuild
235753
235753
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-14
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
235753
235753
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.13-13
235753
- 661697 rebuild for fixing problems with vendorach/lib
235753
235753
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.13-12
235753
- Mass rebuild with perl-5.12.0
235753
235753
* Thu Dec 10 2009 Marcela Maslanova <mmaslano@redhat.com> - 1.13-11
235753
- 541668 fix requires for review
235753
235753
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.13-10
235753
- rebuild against perl 5.10.1
235753
235753
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-9
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
235753
235753
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-8
235753
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
235753
235753
* Mon Jun 2  2008 Marcela Maslanova <mmaslano@redhat.com> - 1.13-7
235753
- rebuild and remove ||: from check part
235753
235753
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.13-6
235753
- Rebuild for perl 5.10 (again)
235753
235753
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.13-5
235753
- rebuild for new perl
235753
235753
* Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.13-4.1
235753
- correct license tag
235753
- add BR: perl(ExtUtils::MakeMaker)
235753
235753
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.13-4
235753
- bump for mass rebuild
235753
235753
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
235753
- rebuilt
235753
235753
* Sun Jul 11 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-2
235753
- Bring up to date with current fedora.us Perl spec template.
235753
235753
* Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-0.fdr.1
235753
- First build.