diff --git a/HTML-Restrict-v2.3.0.tar.gz b/HTML-Restrict-v2.3.0.tar.gz
deleted file mode 100644
index 068c677..0000000
--- a/HTML-Restrict-v2.3.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f8b5b45e653d7d5c621bca43288652168f3995971d9da928ab79d17f59b203d7
-size 35720
diff --git a/HTML-Restrict-v2.4.0.tar.gz b/HTML-Restrict-v2.4.0.tar.gz
new file mode 100644
index 0000000..7597208
--- /dev/null
+++ b/HTML-Restrict-v2.4.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:16fd950c820710b7122421dbcb13b285f6e6f1e38be269d40531e0920ff7512a
+size 35059
diff --git a/perl-HTML-Restrict.changes b/perl-HTML-Restrict.changes
index b7aaec9..66356e6 100644
--- a/perl-HTML-Restrict.changes
+++ b/perl-HTML-Restrict.changes
@@ -1,3 +1,14 @@
+-------------------------------------------------------------------
+Tue Feb 5 06:09:58 UTC 2019 - Stephan Kulow
+
+- 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
+
-------------------------------------------------------------------
Mon Feb 12 11:50:31 UTC 2018 - coolo@suse.com
diff --git a/perl-HTML-Restrict.spec b/perl-HTML-Restrict.spec
index 0b6f73b..31b0434 100644
--- a/perl-HTML-Restrict.spec
+++ b/perl-HTML-Restrict.spec
@@ -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