forked from pool/perl-HTML-Restrict
Accepting request 1006583 from devel:languages:perl:autoupdate
- updated to 3.0.1 see /usr/share/doc/packages/perl-HTML-Restrict/Changes v3.0.1 2022-09-22 22:27:40Z - Add a filter_text attribute. This can be used to disable text encoding. (GH#44) (ccottingham-presinet) - updated to 3.0.0 see /usr/share/doc/packages/perl-HTML-Restrict/Changes - updated to 2.5.0 see /usr/share/doc/packages/perl-HTML-Restrict/Changes v2.5.0 2019-02-08 22:18:11Z - Strip some control characters from links (GH#34) (Olaf Alders) - Enable empty_element_tags in HTML::Parser (GH#35) (Olaf Alders) v2.4.1 2019-02-05 14:13:16Z - Bump version of Type::Tiny to 1.002001. (GH#33) (Olaf Alders). Issue reported by Slaven Rezić (GH#32). - updated to 2.4.0 see /usr/share/doc/packages/perl-HTML-Restrict/Changes v2.4.0 2019-02-05 02:51:05Z - Process text until it returns the same value twice. (GH#31) (Olaf Alders). Issue raised in (GH#29) by Juraj Major. - Add max_parser_loops attribute - 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) - updated to 2.2.4 see /usr/share/doc/packages/perl-HTML-Restrict/Changes 2.2.4 2017-03-01 14:22:13-05:00 America/Toronto - Updates SEE ALSO pod section (Ben Bullock) - initial package 2.2.3 OBS-URL: https://build.opensuse.org/request/show/1006583 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Restrict?expand=0&rev=8
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6a3b95307227a17f359bd07481bc1cc08d38f2736debc4d080704cce8ba8b2c8
|
|
||||||
size 35667
|
|
3
HTML-Restrict-v3.0.1.tar.gz
Normal file
3
HTML-Restrict-v3.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:50c825437b86632eeaec91c1f0747d92353e660fbbfa8535d2cfe2f4f8fabce8
|
||||||
|
size 41505
|
@@ -10,6 +10,7 @@
|
|||||||
#patches:
|
#patches:
|
||||||
# foo.patch: -p1
|
# foo.patch: -p1
|
||||||
# bar.patch:
|
# bar.patch:
|
||||||
|
# baz.patch: PATCH-FIX-OPENSUSE
|
||||||
#preamble: |-
|
#preamble: |-
|
||||||
# BuildRequires: gcc-c++
|
# BuildRequires: gcc-c++
|
||||||
#post_prep: |-
|
#post_prep: |-
|
||||||
@@ -26,3 +27,9 @@
|
|||||||
#custom_test: |-
|
#custom_test: |-
|
||||||
#startserver && make test
|
#startserver && make test
|
||||||
#ignore_requires: Bizarre::Module
|
#ignore_requires: Bizarre::Module
|
||||||
|
skip_doc: perlimports.toml
|
||||||
|
#add_doc: files to add to docs
|
||||||
|
#misc: |-
|
||||||
|
#anything else to be added to spec file
|
||||||
|
#follows directly after %files section, so it can contain new blocks or also
|
||||||
|
#changes to %files section
|
||||||
|
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 28 06:41:56 UTC 2022 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||||
|
|
||||||
|
- updated to 3.0.1
|
||||||
|
see /usr/share/doc/packages/perl-HTML-Restrict/Changes
|
||||||
|
|
||||||
|
v3.0.1 2022-09-22 22:27:40Z
|
||||||
|
- Add a filter_text attribute. This can be used to disable text
|
||||||
|
encoding. (GH#44) (ccottingham-presinet)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 12 06:13:31 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
Tue Mar 12 06:13:31 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
@@ -51,4 +61,3 @@ Fri Mar 3 06:44:48 UTC 2017 - coolo@suse.com
|
|||||||
Sun Dec 4 23:13:37 UTC 2016 - chris@computersalat.de
|
Sun Dec 4 23:13:37 UTC 2016 - chris@computersalat.de
|
||||||
|
|
||||||
- initial package 2.2.3
|
- initial package 2.2.3
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-HTML-Restrict
|
# spec file for package perl-HTML-Restrict
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,18 +16,16 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-HTML-Restrict
|
|
||||||
Version: 3.0.0
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name HTML-Restrict
|
%define cpan_name HTML-Restrict
|
||||||
Summary: Strip unwanted HTML tags and attributes
|
Name: perl-HTML-Restrict
|
||||||
|
Version: 3.0.1
|
||||||
|
Release: 0
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Summary: Strip unwanted HTML tags and attributes
|
||||||
Url: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-v%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-v%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Data::Dump)
|
BuildRequires: perl(Data::Dump)
|
||||||
@@ -37,6 +35,7 @@ BuildRequires: perl(List::Util) >= 1.33
|
|||||||
BuildRequires: perl(Moo) >= 1.002000
|
BuildRequires: perl(Moo) >= 1.002000
|
||||||
BuildRequires: perl(Sub::Quote)
|
BuildRequires: perl(Sub::Quote)
|
||||||
BuildRequires: perl(Test::Fatal)
|
BuildRequires: perl(Test::Fatal)
|
||||||
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
BuildRequires: perl(Type::Tiny) >= 1.002001
|
BuildRequires: perl(Type::Tiny) >= 1.002001
|
||||||
BuildRequires: perl(Types::Standard) >= 1.000001
|
BuildRequires: perl(Types::Standard) >= 1.000001
|
||||||
BuildRequires: perl(URI)
|
BuildRequires: perl(URI)
|
||||||
@@ -61,12 +60,12 @@ manner. By default all HTML is restricted. You may alter the default
|
|||||||
behaviour by supplying your own tag rules.
|
behaviour by supplying your own tag rules.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-v%{version}
|
%autosetup -n %{cpan_name}-v%{version}
|
||||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@@ -77,7 +76,6 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc Changes CONTRIBUTORS examples README.md
|
%doc Changes CONTRIBUTORS examples README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user