[packages/perl-HTML-Scrubber] - up to 0.17

arekm arekm at pld-linux.org
Wed Sep 20 18:29:22 CEST 2017


commit d9da4cedbad665065785ab22642761f5ba2a4737
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Sep 20 18:29:16 2017 +0200

    - up to 0.17

 perl-HTML-Scrubber.spec | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/perl-HTML-Scrubber.spec b/perl-HTML-Scrubber.spec
index 249fa96..5c4d35c 100644
--- a/perl-HTML-Scrubber.spec
+++ b/perl-HTML-Scrubber.spec
@@ -8,13 +8,13 @@
 Summary:	HTML::Scrubber - Perl extension for scrubbing/sanitizing HTML
 Summary(pl.UTF-8):	HTML::Scrubber - rozszerzenie Perla do czyszczenia HTML-a
 Name:		perl-HTML-Scrubber
-Version:	0.14
+Version:	0.17
 Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	9498cc8611439ad7cdccdbf23130413e
+# Source0-md5:	4ce8424bd1a3bbc3c217b82e26dfd8a8
 URL:		http://search.cpan.org/dist/HTML-Scrubber/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
@@ -46,17 +46,17 @@ działającego bezpośrednio z modułem HTML::Parser.
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-%{__perl} Build.PL \
-	destdir=$RPM_BUILD_ROOT \
-	installdirs=vendor
-./Build
+%{__perl} Makefile.PL \
+		INSTALLDIRS=vendor
+%{__make}
 
-%{?with_tests:./Build test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-./Build install
+%{__make} install \
+		DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-HTML-Scrubber.git/commitdiff/d9da4cedbad665065785ab22642761f5ba2a4737



More information about the pld-cvs-commit mailing list