Upstream update.
Reflect upstream having switched to Build.PL.
This commit is contained in:
parent
8b78c3ba35
commit
f5a71422d0
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
HTML-Format-2.04.tar.gz
|
||||
/HTML-Format-2.05.tar.gz
|
||||
/HTML-Format-2.07.tar.gz
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user