From 2cf3940e9d46276d02e01ce55c34ce64707d2715 Mon Sep 17 00:00:00 2001
From: Xavier Bachelot <xav...@bachelot.org>
Date: Thu, 12 May 2016 15:05:38 +0200
Subject: 1.06

---
 .gitignore                                     |  1 +
 HTML-StripScripts-1.05-Fix-typo-in-regex.patch | 12 ------------
 perl-HTML-StripScripts.spec                    | 19 +++++++------------
 sources                                        |  2 +-
 4 files changed, 9 insertions(+), 25 deletions(-)
 delete mode 100644 HTML-StripScripts-1.05-Fix-typo-in-regex.patch

diff --git a/.gitignore b/.gitignore
index 2c0b789..f51e557 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 HTML-StripScripts-1.04.tar.gz
 /HTML-StripScripts-1.05.tar.gz
+/HTML-StripScripts-1.06.tar.gz
diff --git a/HTML-StripScripts-1.05-Fix-typo-in-regex.patch 
b/HTML-StripScripts-1.05-Fix-typo-in-regex.patch
deleted file mode 100644
index a2c4463..0000000
--- a/HTML-StripScripts-1.05-Fix-typo-in-regex.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up HTML-StripScripts-1.05/StripScripts.pm.orig 
HTML-StripScripts-1.05/StripScripts.pm
---- HTML-StripScripts-1.05/StripScripts.pm.orig        2015-05-05 
09:12:33.495920443 +0200
-+++ HTML-StripScripts-1.05/StripScripts.pm     2015-05-05 09:53:33.099908066 
+0200
-@@ -1630,7 +1630,7 @@ size or length.
- 
- sub _hss_attval_size {
-     $_[3]
--        =~ 
/^\s*([+-]?\d{1,20}(?:\.\d{1,20)?)\s*((?:\%|\*|ex|px|pc|cm|mm|in|pt|em)?)\s*$/i
-+        =~ 
/^\s*([+-]?\d{1,20}(?:\.\d{1,20})?)\s*((?:\%|\*|ex|px|pc|cm|mm|in|pt|em)?)\s*$/i
-         ? lc "$1$2"
-         : undef;
- }
diff --git a/perl-HTML-StripScripts.spec b/perl-HTML-StripScripts.spec
index a1d84c3..cf12ff7 100644
--- a/perl-HTML-StripScripts.spec
+++ b/perl-HTML-StripScripts.spec
@@ -1,14 +1,11 @@
 Name:           perl-HTML-StripScripts
-Version:        1.05
-Release:        16%{?dist}
+Version:        1.06
+Release:        1%{?dist}
 Summary:        Strip scripting constructs out of HTML
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/HTML-StripScripts/
 Source0:        
http://search.cpan.org/CPAN/authors/id/D/DR/DRTECH/HTML-StripScripts-%{version}.tar.gz
-# Add missing a right brace to regex (CPAN RT#104221)
-Patch0:         HTML-StripScripts-1.05-Fix-typo-in-regex.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(base)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -29,15 +26,12 @@ display HTML originating from an untrusted source without 
introducing XSS
 
 %prep
 %setup -q -n HTML-StripScripts-%{version}
-%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install DESTDIR=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -48,16 +42,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_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu May 12 2016 Xavier Bachelot <xav...@bachelot.org> 1.06-1
+- Update to 1.06.
+- Remove upstreamed patch.
+- Clean up spec file.
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
1.05-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
diff --git a/sources b/sources
index 877fe0b..c24917b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e8c51fbfda69efaf94c2937084d2458f  HTML-StripScripts-1.05.tar.gz
+23124893ca6f844cecb73b368af50d57  HTML-StripScripts-1.06.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-HTML-StripScripts.git/commit/?h=f22&id=2cf3940e9d46276d02e01ce55c34ce64707d2715
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to