[perl-HTML-Format/f15/master] Upstream update. Reflect upstream having switched to Build.PL.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit f5a71422d0eb3eb0a163d39b5746fec6824ae95a
Author: Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx>
Date:   Fri Apr 29 17:55:33 2011 +0200

    Upstream update.
    Reflect upstream having switched to Build.PL.

 .gitignore            |    1 +
 perl-HTML-Format.spec |   19 +++++++++++--------
 sources               |    2 +-
 3 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index eb981d2..ace4bf5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 HTML-Format-2.04.tar.gz
 /HTML-Format-2.05.tar.gz
+/HTML-Format-2.07.tar.gz
diff --git a/perl-HTML-Format.spec b/perl-HTML-Format.spec
index e3970d9..32fb970 100644
--- a/perl-HTML-Format.spec
+++ b/perl-HTML-Format.spec
@@ -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@xxxxxxxxxxxxxxxxx> - 2.07-1
+- Upstream update.
+- Reflect upstream having switched to Build.PL.
+
 * Thu Mar 03 2011 Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> - 2.05-1
 - Upstream update.
 - Reflect Source0:-URL having changed.
diff --git a/sources b/sources
index 446b4ce..f210cf2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fa410f4789f442eaf1e7a63b33fe9d91  HTML-Format-2.05.tar.gz
+07b43da2e23ad4f6eeacee8219c65fa4  HTML-Format-2.07.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux