Blame SPECS/perl-XML-XPath.spec

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