|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file for package perl-Package-Stash
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2022 SUSE LLC
|
|
|
|
|
# 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
|
|
|
|
@@ -18,28 +18,31 @@
|
|
|
|
|
|
|
|
|
|
%define cpan_name Package-Stash
|
|
|
|
|
Name: perl-Package-Stash
|
|
|
|
|
Version: 0.40
|
|
|
|
|
Version: 0.400.0
|
|
|
|
|
Release: 0
|
|
|
|
|
# 0.40 -> normalize -> 0.400.0
|
|
|
|
|
%define cpan_version 0.40
|
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
|
|
|
Summary: Routines for manipulating stashes
|
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
|
|
|
|
|
Source1: cpanspec.yml
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
|
|
|
|
|
BuildRequires: perl(CPAN::Meta::Check) >= 0.11
|
|
|
|
|
BuildRequires: perl(CPAN::Meta::Requirements)
|
|
|
|
|
BuildRequires: perl(Dist::CheckConflicts) >= 0.02
|
|
|
|
|
BuildRequires: perl(Module::Implementation) >= 0.06
|
|
|
|
|
BuildRequires: perl(Package::Stash::XS) >= 0.26
|
|
|
|
|
BuildRequires: perl(Dist::CheckConflicts) >= 0.20
|
|
|
|
|
BuildRequires: perl(Module::Implementation) >= 0.60
|
|
|
|
|
BuildRequires: perl(Test::Fatal)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
BuildRequires: perl(Test::Needs)
|
|
|
|
|
Requires: perl(Dist::CheckConflicts) >= 0.02
|
|
|
|
|
Requires: perl(Module::Implementation) >= 0.06
|
|
|
|
|
Requires: perl(Package::Stash::XS) >= 0.26
|
|
|
|
|
Recommends: perl(Package::Stash::XS) >= 0.26
|
|
|
|
|
Requires: perl(Dist::CheckConflicts) >= 0.20
|
|
|
|
|
Requires: perl(Module::Implementation) >= 0.60
|
|
|
|
|
Provides: perl(Package::Stash) = %{version}
|
|
|
|
|
Provides: perl(Package::Stash::PP) = %{version}
|
|
|
|
|
%undefine __perllib_provides
|
|
|
|
|
Recommends: perl(Package::Stash::XS) >= 0.260
|
|
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@@ -62,7 +65,7 @@ environment variable taking precedence), otherwise, it will use the XS
|
|
|
|
|
implementation if possible, falling back to the pure perl one.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
|
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|