2024-07-15 20:15:36 +00:00
committed by Git OBS Bridge
parent 4c7eb70e7b
commit ab4daf4561

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Algorithm-Permute
#
# 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,17 +18,21 @@
%define cpan_name Algorithm-Permute
Name: perl-Algorithm-Permute
Version: 0.17
Version: 0.170.0
Release: 0
# 0.17 -> normalize -> 0.170.0
%define cpan_version 0.17
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Handy and fast permutation with object oriented interface
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SL/SLOYD/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/S/SL/SLOYD/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::LeakTrace)
BuildRequires: perl(Test::More) >= 0.88
Provides: perl(Algorithm::Permute) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -37,7 +41,7 @@ although perhaps its algorithm is not the fastest on the earth. It supports
permutation r of n objects where 0 < r <= n.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"