2024-07-27 21:43:35 +00:00
committed by Git OBS Bridge
parent 8872147a37
commit 504a636d0e

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Perl-MinimumVersion # spec file for package perl-Perl-MinimumVersion
# #
# Copyright (c) 2021 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,12 +18,14 @@
%define cpan_name Perl-MinimumVersion %define cpan_name Perl-MinimumVersion
Name: perl-Perl-MinimumVersion Name: perl-Perl-MinimumVersion
Version: 1.40 Version: 1.400.0
Release: 0 Release: 0
Summary: Find a minimum required version of perl for Perl code # 1.40 -> normalize -> 1.400.0
%define cpan_version 1.40
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Find a minimum required version of perl for Perl code
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DB/DBOOK/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/D/DB/DBOOK/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
@@ -46,6 +48,9 @@ Requires: perl(PPIx::Regexp) >= 0.033
Requires: perl(PPIx::Utils) Requires: perl(PPIx::Utils)
Requires: perl(Params::Util) >= 0.25 Requires: perl(Params::Util) >= 0.25
Requires: perl(version) >= 0.76 Requires: perl(version) >= 0.76
Provides: perl(Perl::MinimumVersion) = %{version}
Provides: perl(Perl::MinimumVersion::Reason) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -69,7 +74,7 @@ way to run 'Perl::MinimumVersion' on your code:
See the documentation for perlver for more details. See the documentation for perlver for more details.
%prep %prep
%autosetup -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor