diff --git a/perl-HTML-HTML5-Entities.spec b/perl-HTML-HTML5-Entities.spec
index 8faafa2..b4cc2df 100644
--- a/perl-HTML-HTML5-Entities.spec
+++ b/perl-HTML-HTML5-Entities.spec
@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-HTML5-Entities
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,21 @@
#
-Name: perl-HTML-HTML5-Entities
-Version: 0.004
-Release: 0
%define cpan_name HTML-HTML5-Entities
-Summary: Drop-in replacement for HTML::Entities
+Name: perl-HTML-HTML5-Entities
+Version: 0.4.0
+Release: 0
+# 0.004 -> normalize -> 0.4.0
+%define cpan_version 0.004
License: Artistic-1.0 OR GPL-1.0-or-later
-Group: Development/Libraries/Perl
+Summary: Drop-in replacement for HTML::Entities
URL: https://metacpan.org/release/%{cpan_name}
-Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz
+Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
+Provides: perl(HTML::HTML5::Entities) = %{version}
+%undefine __perllib_provides
%{perl_requires}
%description
@@ -41,11 +43,11 @@ entities defined in HTML5. Some caveats:
* * It will not work in Perl < 5.8.1.
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%make_build
%check
make test
@@ -56,7 +58,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes CONTRIBUTING COPYRIGHT CREDITS doap.ttl README
%license LICENSE