Update to 0.20
This commit is contained in:
parent
19bb0959a5
commit
71ffd2c31f
|
@ -1,2 +1,3 @@
|
||||||
/HTML-TreeBuilder-LibXML-0.16.tar.gz
|
/HTML-TreeBuilder-LibXML-0.16.tar.gz
|
||||||
/HTML-TreeBuilder-LibXML-0.17.tar.gz
|
/HTML-TreeBuilder-LibXML-0.17.tar.gz
|
||||||
|
/HTML-TreeBuilder-LibXML-0.20.tar.gz
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
Name: perl-HTML-TreeBuilder-LibXML
|
Name: perl-HTML-TreeBuilder-LibXML
|
||||||
Version: 0.17
|
Version: 0.20
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: HTML::TreeBuilder and XPath compatible interface with libxml
|
Summary: HTML::TreeBuilder and XPath compatible interface with libxml
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/HTML-TreeBuilder-LibXML/
|
URL: http://search.cpan.org/dist/HTML-TreeBuilder-LibXML/
|
||||||
Source0: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/HTML-TreeBuilder-LibXML-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/C/CA/CAFEGRATZ/HTML-TreeBuilder-LibXML-%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
|
@ -13,6 +13,7 @@ BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(Data::Dumper)
|
BuildRequires: perl(Data::Dumper)
|
||||||
BuildRequires: perl(inc::Module::Install)
|
BuildRequires: perl(inc::Module::Install)
|
||||||
BuildRequires: perl(HTML::TreeBuilder::XPath) >= 0.14
|
BuildRequires: perl(HTML::TreeBuilder::XPath) >= 0.14
|
||||||
|
BuildRequires: perl(Test::Exception)
|
||||||
BuildRequires: perl(Test::More) >= 0.98
|
BuildRequires: perl(Test::More) >= 0.98
|
||||||
BuildRequires: perl(XML::LibXML) >= 1.7
|
BuildRequires: perl(XML::LibXML) >= 1.7
|
||||||
|
|
||||||
|
@ -33,26 +34,27 @@ HTML::TreeBuilder::LibXML is drop-in-replacement for HTML::TreeBuilder::XPath.
|
||||||
%setup -q -n HTML-TreeBuilder-LibXML-%{version}
|
%setup -q -n HTML-TreeBuilder-LibXML-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
make %{?_smp_mflags}
|
./Build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
||||||
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
./Build test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes README
|
%doc Changes README.md
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun May 12 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 0.20-1
|
||||||
|
- Update to 0.20
|
||||||
|
- Switch to Build.PL buildsystem
|
||||||
|
|
||||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-4
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue