diff --git a/perl-Function-Parameters.spec b/perl-Function-Parameters.spec index c842ce2..36072ab 100644 --- a/perl-Function-Parameters.spec +++ b/perl-Function-Parameters.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Function-Parameters # -# Copyright (c) 2023 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 @@ -18,18 +18,24 @@ %define cpan_name Function-Parameters Name: perl-Function-Parameters -Version: 2.002004 +Version: 2.2.4 Release: 0 +# 2.002004 -> normalize -> 2.2.4 +%define cpan_version 2.002004 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Define functions and methods with parameter lists ("subroutine signatures") URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/M/MA/MAUKE/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/M/MA/MAUKE/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(ExtUtils::MakeMaker) >= 7.0 BuildRequires: perl(Hash::Util) >= 0.07 BuildRequires: perl(Test::Fatal) +Provides: perl(Function::Parameters) = %{version} +Provides: perl(Function::Parameters::Info) = %{version} +Provides: perl(Function::Parameters::Param) +%undefine __perllib_provides %{perl_requires} %description @@ -45,7 +51,7 @@ install it from source, as it uses Perl's keyword plugin API in order to work reliably without requiring a source filter. %prep -%autosetup -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"