diff --git a/perl-Apache-LogFormat-Compiler.changes b/perl-Apache-LogFormat-Compiler.changes index 50d39bb..075d891 100644 --- a/perl-Apache-LogFormat-Compiler.changes +++ b/perl-Apache-LogFormat-Compiler.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 3 15:12:34 UTC 2025 - Tina Müller + +- Normalize CPAN version + See https://github.com/openSUSE/cpanspec/issues/47 for details + ------------------------------------------------------------------- Tue Nov 19 08:26:52 UTC 2019 - diff --git a/perl-Apache-LogFormat-Compiler.spec b/perl-Apache-LogFormat-Compiler.spec index 06642b8..50371a3 100644 --- a/perl-Apache-LogFormat-Compiler.spec +++ b/perl-Apache-LogFormat-Compiler.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Apache-LogFormat-Compiler # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,29 +16,32 @@ # -Name: perl-Apache-LogFormat-Compiler -Version: 0.36 -Release: 0 %define cpan_name Apache-LogFormat-Compiler -Summary: Compile a log format string to perl-code +Name: perl-Apache-LogFormat-Compiler +Version: 0.360.0 +Release: 0 +# 0.36 -> normalize -> 0.360.0 +%define cpan_version 0.36 License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/%{cpan_name}-%{version}.tar.gz +Summary: Compile a log format string to perl-code +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(HTTP::Request::Common) -BuildRequires: perl(Module::Build::Tiny) >= 0.035 -BuildRequires: perl(POSIX::strftime::Compiler) >= 0.30 +BuildRequires: perl(Module::Build) +BuildRequires: perl(Module::Build::Tiny) >= 0.35 +BuildRequires: perl(POSIX::strftime::Compiler) >= 0.300 BuildRequires: perl(Test::MockTime) BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(Test::Requires) -BuildRequires: perl(Try::Tiny) >= 0.12 -BuildRequires: perl(URI::Escape) >= 1.60 -Requires: perl(POSIX::strftime::Compiler) >= 0.30 +BuildRequires: perl(Try::Tiny) >= 0.120 +BuildRequires: perl(URI::Escape) >= 1.600 +Requires: perl(POSIX::strftime::Compiler) >= 0.300 +Provides: perl(Apache::LogFormat::Compiler) = %{version} +%undefine __perllib_provides %{perl_requires} # MANUAL BEGIN BuildRequires: timezone @@ -49,7 +52,7 @@ Compile a log format string to perl-code. For faster generation of access_log lines. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} -p1 %build perl Build.PL --installdirs=vendor @@ -63,8 +66,7 @@ perl Build.PL --installdirs=vendor %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc Changes minil.toml README.md +%doc Changes README.md %license LICENSE %changelog