2024-08-25 17:36:31 +00:00
committed by Git OBS Bridge
parent 838fc7ec1d
commit 0c1d34a113

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Function-Parameters # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,24 @@
%define cpan_name Function-Parameters %define cpan_name Function-Parameters
Name: perl-Function-Parameters Name: perl-Function-Parameters
Version: 2.002004 Version: 2.2.4
Release: 0 Release: 0
# 2.002004 -> normalize -> 2.2.4
%define cpan_version 2.002004
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Define functions and methods with parameter lists ("subroutine signatures") Summary: Define functions and methods with parameter lists ("subroutine signatures")
URL: https://metacpan.org/release/%{cpan_name} 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 Source1: cpanspec.yml
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.0 BuildRequires: perl(ExtUtils::MakeMaker) >= 7.0
BuildRequires: perl(Hash::Util) >= 0.07 BuildRequires: perl(Hash::Util) >= 0.07
BuildRequires: perl(Test::Fatal) 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} %{perl_requires}
%description %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. work reliably without requiring a source filter.
%prep %prep
%autosetup -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"