Hello community,
here is the log from the commit of package perl-HTML-Scrubber for
openSUSE:Factory checked in at 2013-12-03 10:31:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-HTML-Scrubber (Old)
and /work/SRC/openSUSE:Factory/.perl-HTML-Scrubber.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-HTML-Scrubber"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-HTML-Scrubber/perl-HTML-Scrubber.changes
2011-09-23 12:37:20.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-HTML-Scrubber.new/perl-HTML-Scrubber.changes
2013-12-03 10:31:35.000000000 +0100
@@ -1,0 +2,11 @@
+Tue Nov 26 07:35:19 UTC 2013 - [email protected]
+
+- updated to 0.11
+ - RT3008 Changed examples to be XSS free
+ - RT19063, RT25477 fixed handling of self closing tags,
+ for example '<hr />'
+ - * attribute rule can be a regexp
+ - callbacks in rules to check or adjust attributes with
+ custom code (RT15747)
+
+-------------------------------------------------------------------
Old:
----
HTML-Scrubber-0.09.tar.gz
New:
----
HTML-Scrubber-0.11.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-HTML-Scrubber.spec ++++++
--- /var/tmp/diff_new_pack.OcfChP/_old 2013-12-03 10:31:35.000000000 +0100
+++ /var/tmp/diff_new_pack.OcfChP/_new 2013-12-03 10:31:35.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-Scrubber
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,40 +16,33 @@
#
-
Name: perl-HTML-Scrubber
-Version: 0.09
-Release: 1
-License: GPL-1.0+ or Artistic-1.0
+Version: 0.11
+Release: 0
%define cpan_name HTML-Scrubber
Summary: Perl extension for scrubbing/sanitizing html
-Url: http://search.cpan.org/dist/HTML-Scrubber/
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-#Source:
http://www.cpan.org/authors/id/N/NI/NIGELM/HTML-Scrubber-%{version}.tar.gz
-Source: %{cpan_name}-%{version}.tar.gz
-%if 0%{?suse_version} <= 1120
-Patch1: perl-HTML-Scrubber-test_more-version.patch
-%endif
+Url: http://search.cpan.org/dist/HTML-Scrubber/
+Source:
http://www.cpan.org/authors/id/N/NI/NIGELM/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Carp)
-BuildRequires: perl(File::Find)
-BuildRequires: perl(File::Spec)
-BuildRequires: perl(File::Temp)
BuildRequires: perl(HTML::Entities)
-BuildRequires: perl(HTML::Parser)
-BuildRequires: perl(Scalar::Util)
-BuildRequires: perl(vars)
-Buildrequires: perl(Test::More) >= 0.94
+BuildRequires: perl(HTML::Parser) >= 3.47
+BuildRequires: perl(Module::Build) >= 0.3601
+BuildRequires: perl(Test::More) >= 0.94
+#BuildRequires: perl(HTML::Scrubber)
+#BuildRequires: perl(Pod::Wordlist)
+#BuildRequires: perl(Test::NoTabs)
+#BuildRequires: perl(Test::Spelling) >= 0.12
Requires: perl(HTML::Entities)
-Requires: perl(HTML::Parser)
-Requires: perl(vars)
+Requires: perl(HTML::Parser) >= 3.47
%{perl_requires}
%description
-If you wanna "scrub" or "sanitize" html input in a reliable and flexible
+If you want to "scrub" or "sanitize" html input in a reliable and flexible
fashion, then this module is for you.
I wasn't satisfied with HTML::Sanitizer because it is based on
@@ -58,28 +51,20 @@
%prep
%setup -q -n %{cpan_name}-%{version}
-%if 0%{?suse_version} <= 1120
-%patch1 -p1
-sed -i "s|__vendorperl__|%{perl_vendorlib}|g" t/*
-%endif
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build build flags=%{?_smp_mflags}
%check
-%{__make} test
+./Build test
%install
-%perl_make_install
-%perl_process_packlist
+./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
-%clean
-%{__rm} -rf %{buildroot}
-
%files -f %{name}.files
-%defattr(644,root,root,755)
+%defattr(-,root,root,755)
%doc Changes LICENSE README
%changelog
++++++ HTML-Scrubber-0.09.tar.gz -> HTML-Scrubber-0.11.tar.gz ++++++
++++ 1877 lines of diff (skipped)
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]