spot pushed to perl-HTML-Scrubber (el5). "0.11"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Oct 30 18:55:29 UTC 2015


From f56cfb49e26fc77cce2036603a4696c9d6271074 Mon Sep 17 00:00:00 2001
From: Tom Callaway <spot at fedoraproject.org>
Date: Tue, 24 Jun 2014 12:40:26 -0400
Subject: 0.11

---
 perl-HTML-Scrubber.spec | 39 +++++++++------------------------------
 sources                 |  2 +-
 2 files changed, 10 insertions(+), 31 deletions(-)

diff --git a/perl-HTML-Scrubber.spec b/perl-HTML-Scrubber.spec
index 55fd855..1efca3e 100644
--- a/perl-HTML-Scrubber.spec
+++ b/perl-HTML-Scrubber.spec
@@ -1,18 +1,15 @@
 Name:           perl-HTML-Scrubber
-Version:        0.08
-Release:        19%{?dist}
+Version:        0.11
+Release:        1%{?dist}
 Summary:        Library for scrubbing/sanitizing html
-
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/HTML-Scrubber/
 Source0:        http://www.cpan.org/authors/id/P/PO/PODMASTER/HTML-Scrubber-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(HTML::Parser)
+BuildRequires:	perl(Module::Build)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -22,49 +19,31 @@ I wasn't satisfied with HTML::Sanitizer because it is based on
 HTML::TreeBuilder, so I thought I'd write something similar that works
 directly with HTML::Parser.
 
-
 %prep
 %setup -q -n HTML-Scrubber-%{version}
 %{__perl} -pi -e 's/\r\n/\n/' Changes LICENSE README Scrubber.pm
 
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
-
+%{__perl} Build.PL --installdirs vendor
+./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+./Build install --destdir $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/*
 
-
 %check
-make test
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+./Build test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/HTML/
 %{_mandir}/man3/*.3pm*
 
-
 %changelog
-* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.08-19
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.08-18
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Mon Jul 22 2013 Petr Pisar <ppisar at redhat.com> - 0.08-17
-- Perl 5.18 rebuild
+* Tue Jun 24 2014 Tom Callaway <spot at fedoraproject.org> - 0.11-1
+- 0.11
 
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.08-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 250e534..6748a41 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-abadf246e528f3e2d31717ef8a1d90f2  HTML-Scrubber-0.08.tar.gz
+79b5ab3a8e599d3753ed6bc924d0f501  HTML-Scrubber-0.11.tar.gz
-- 
cgit v0.11.2


	http://pkgs.fedoraproject.org/cgit/perl-HTML-Scrubber.git/commit/?h=el5&id=f56cfb49e26fc77cce2036603a4696c9d6271074


More information about the perl-devel mailing list