Upstream update.

Reflect upstream having switched to Build.PL.
This commit is contained in:
Ralf Corsépius 2011-04-29 17:55:33 +02:00
parent 8b78c3ba35
commit f5a71422d0
3 changed files with 13 additions and 9 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
HTML-Format-2.04.tar.gz
/HTML-Format-2.05.tar.gz
/HTML-Format-2.07.tar.gz

View File

@ -1,5 +1,5 @@
Name: perl-HTML-Format
Version: 2.05
Version: 2.07
Release: 1%{?dist}
Summary: HTML formatter modules
@ -16,6 +16,7 @@ BuildRequires: perl(HTML::Element) >= 3.15
BuildRequires: perl(HTML::TreeBuilder)
BuildRequires: perl(Font::AFM) >= 1.17
BuildRequires: perl(File::Slurp)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Font::Metrics::Courier)
BuildRequires: perl(Font::Metrics::CourierBold)
@ -66,17 +67,15 @@ A collection of modules that formats HTML as plaintext, PostScript or RTF.
%setup -q -n HTML-Format-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%{__perl} Build.PL installdirs=vendor
./Build
%install
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/*
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test RELEASE_TESTING=1
RELEASE_TESTING=1 ./Build test
%files
%defattr(-,root,root,-)
@ -85,6 +84,10 @@ make test RELEASE_TESTING=1
%{_mandir}/man3/HTML*
%changelog
* Fri Apr 29 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.07-1
- Upstream update.
- Reflect upstream having switched to Build.PL.
* Thu Mar 03 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.05-1
- Upstream update.
- Reflect Source0:-URL having changed.

View File

@ -1 +1 @@
fa410f4789f442eaf1e7a63b33fe9d91 HTML-Format-2.05.tar.gz
07b43da2e23ad4f6eeacee8219c65fa4 HTML-Format-2.07.tar.gz