[perl-HTML-Strip] Update to 1.10
Emmanuel Seyman
eseyman at fedoraproject.org
Mon Nov 10 13:34:09 UTC 2014
commit 452a079f87aa9a5af02f0fff642c4123db3efd39
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Mon Nov 10 14:34:01 2014 +0100
Update to 1.10
.gitignore | 1 +
perl-HTML-Strip.spec | 23 ++++++++++++-----------
sources | 2 +-
3 files changed, 14 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index da60cdc..d97e51f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
HTML-Strip-1.06.tar.gz
+/HTML-Strip-1.10.tar.gz
diff --git a/perl-HTML-Strip.spec b/perl-HTML-Strip.spec
index 02165ff..7f09c50 100644
--- a/perl-HTML-Strip.spec
+++ b/perl-HTML-Strip.spec
@@ -1,16 +1,19 @@
Name: perl-HTML-Strip
-Version: 1.06
-Release: 16%{?dist}
+Version: 1.10
+Release: 1%{?dist}
Summary: Perl extension for stripping HTML markup from text
License: GPL+ or Artistic
-Group: Development/Libraries
+
URL: http://search.cpan.org/dist/HTML-Strip/
Source0: http://www.cpan.org/authors/id/K/KI/KILINRAX/HTML-Strip-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTML::Entities)
+BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?perl_default_filter}
+
%description
This module simply strips HTML-like markup from text in a very quick and
brutal manner. It could quite easily be used to strip XML or SGML from text
@@ -24,15 +27,13 @@ module lives in the HTML:: namespace.
%global __find_requires /bin/sh -c "%{__deploop R}"
%prep
-%setup -q -n HTML-Strip-%{version}
+%setup -q -n HTML-Strip
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -44,17 +45,17 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/HTML*
%{_mandir}/man3/*
%changelog
+* Mon Nov 10 2014 Emmanuel Seyman <emmanuel at seyman.fr> - 1.10-1
+- Update to 1.10
+- Clean up specfile
+
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.06-16
- Perl 5.20 rebuild
diff --git a/sources b/sources
index e20505a..3e567fd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ceeacef0c7c31983e3a991e77bb58b45 HTML-Strip-1.06.tar.gz
+82824708e5462797050e934d842f15de HTML-Strip-1.10.tar.gz
More information about the perl-devel
mailing list