1.19 bump
This commit is contained in:
parent
209e6e0c8d
commit
4962456fb2
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
XML-XPath-1.13.tar.gz
|
||||
/XML-XPath-1.19.tar.gz
|
||||
|
||||
2
.rpmlint
Normal file
2
.rpmlint
Normal file
@ -0,0 +1,2 @@
|
||||
from Config import *
|
||||
addFilter("spelling-error .* evaluator");
|
||||
@ -1,23 +1,38 @@
|
||||
Name: perl-XML-XPath
|
||||
Version: 1.13
|
||||
Release: 28%{?dist}
|
||||
|
||||
Version: 1.19
|
||||
Release: 1%{?dist}
|
||||
Summary: XPath parser and evaluator for Perl
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
License: Artistic 2.0
|
||||
URL: http://search.cpan.org/dist/XML-XPath/
|
||||
Source0: http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-XPath-1.13.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Source0: http://www.cpan.org/authors/id/M/MA/MANWAR/XML-XPath-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(IO::File)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(POSIX)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(XML::Parser) >= 2.23
|
||||
# Tests
|
||||
BuildRequires: perl(Test)
|
||||
BuildRequires: perl(XML::Parser)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildRequires: perl(Test::More)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(POSIX)
|
||||
Requires: perl(warnings)
|
||||
Requires: perl(XML::Parser) >= 2.23
|
||||
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(XML::Parser\\)$
|
||||
|
||||
%description
|
||||
This module aims to comply exactly to the XPath specification at
|
||||
@ -25,21 +40,16 @@ http://www.w3.org/TR/xpath and yet allow extensions to be added in the
|
||||
form of functions. Modules such as XSLT and XPointer may need to do
|
||||
this as they support functionality beyond XPath.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n XML-XPath-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
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
|
||||
@ -49,21 +59,18 @@ EOF
|
||||
%check
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README TODO
|
||||
%license LICENSE
|
||||
%doc Changes README TODO
|
||||
%{_bindir}/xpath
|
||||
%{perl_vendorlib}/XML
|
||||
%{_mandir}/man1/xpath*
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 08 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-1
|
||||
- 1.19 bump
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
@ -145,7 +152,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.13-4
|
||||
- bump for mass rebuild
|
||||
|
||||
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
||||
* Wed Apr 6 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
||||
- rebuilt
|
||||
|
||||
* Sun Jul 11 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user