diff --git a/HTML-Restrict-2.2.4.tar.gz b/HTML-Restrict-2.2.4.tar.gz deleted file mode 100644 index b4dc85d..0000000 --- a/HTML-Restrict-2.2.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:510efed345aa4fd1b5a35833b9352aeadc670f1b993a83236a286adefc5b93a8 -size 28171 diff --git a/HTML-Restrict-v2.3.0.tar.gz b/HTML-Restrict-v2.3.0.tar.gz new file mode 100644 index 0000000..068c677 --- /dev/null +++ b/HTML-Restrict-v2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8b5b45e653d7d5c621bca43288652168f3995971d9da928ab79d17f59b203d7 +size 35720 diff --git a/perl-HTML-Restrict.changes b/perl-HTML-Restrict.changes index b312fdf..b7aaec9 100644 --- a/perl-HTML-Restrict.changes +++ b/perl-HTML-Restrict.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Feb 12 11:50:31 UTC 2018 - coolo@suse.com + +- updated to 2.3.0 + see /usr/share/doc/packages/perl-HTML-Restrict/Changes + + v2.3.0 2018-02-09 16:00:41Z + - Add code filters for attribute values (GH#27) (Graham Knop) + ------------------------------------------------------------------- Fri Mar 3 06:44:48 UTC 2017 - coolo@suse.com diff --git a/perl-HTML-Restrict.spec b/perl-HTML-Restrict.spec index 095663e..0b6f73b 100644 --- a/perl-HTML-Restrict.spec +++ b/perl-HTML-Restrict.spec @@ -1,7 +1,7 @@ # # spec file for package perl-HTML-Restrict # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,14 @@ Name: perl-HTML-Restrict -Version: 2.2.4 +Version: 2.3.0 Release: 0 %define cpan_name HTML-Restrict Summary: Strip unwanted HTML tags and attributes License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/HTML-Restrict/ -Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-v%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -40,6 +40,7 @@ BuildRequires: perl(Test::Fatal) BuildRequires: perl(Types::Standard) >= 1.000001 BuildRequires: perl(URI) BuildRequires: perl(namespace::clean) +BuildRequires: perl(version) Requires: perl(Data::Dump) Requires: perl(HTML::Entities) Requires: perl(HTML::Parser) @@ -49,6 +50,7 @@ Requires: perl(Sub::Quote) Requires: perl(Types::Standard) >= 1.000001 Requires: perl(URI) Requires: perl(namespace::clean) +Requires: perl(version) %{perl_requires} %description @@ -57,7 +59,7 @@ manner. By default all HTML is restricted. You may alter the default behaviour by supplying your own tag rules. %prep -%setup -q -n %{cpan_name}-%{version} +%setup -q -n %{cpan_name}-v%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build