8
0

Accepting request 671291 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/671291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Restrict?expand=0&rev=4
This commit is contained in:
Lars Vogdt
2019-02-08 18:09:58 +00:00
committed by Git OBS Bridge
parent c3f8654080
commit 75efdbcac5
4 changed files with 26 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-Restrict
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,18 +12,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-HTML-Restrict
Version: 2.3.0
Version: 2.4.0
Release: 0
%define cpan_name HTML-Restrict
Summary: Strip unwanted HTML tags and attributes
License: Artistic-1.0 or GPL-1.0+
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/HTML-Restrict/
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-v%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
@@ -37,7 +37,8 @@ BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(Moo) >= 1.002000
BuildRequires: perl(Sub::Quote)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Types::Standard) >= 1.000001
BuildRequires: perl(Type::Library)
BuildRequires: perl(Type::Utils) >= 1.000001
BuildRequires: perl(URI)
BuildRequires: perl(namespace::clean)
BuildRequires: perl(version)
@@ -47,7 +48,8 @@ Requires: perl(HTML::Parser)
Requires: perl(List::Util) >= 1.33
Requires: perl(Moo) >= 1.002000
Requires: perl(Sub::Quote)
Requires: perl(Types::Standard) >= 1.000001
Requires: perl(Type::Library)
Requires: perl(Type::Utils) >= 1.000001
Requires: perl(URI)
Requires: perl(namespace::clean)
Requires: perl(version)
@@ -63,11 +65,11 @@ behaviour by supplying your own tag rules.
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install