2024-08-16 21:09:47 +00:00
committed by Git OBS Bridge
parent 3441557870
commit 08601cf27c

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Parallel-Iterator # spec file for package perl-Parallel-Iterator
# #
# Copyright (c) 2022 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,16 +18,20 @@
%define cpan_name Parallel-Iterator %define cpan_name Parallel-Iterator
Name: perl-Parallel-Iterator Name: perl-Parallel-Iterator
Version: 1.002 Version: 1.2.0
Release: 0 Release: 0
# 1.002 -> normalize -> 1.2.0
%define cpan_version 1.002
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Simple parallel execution Summary: Simple parallel execution
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/A/AR/ARISTOTLE/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/A/AR/ARISTOTLE/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
Provides: perl(Parallel::Iterator) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -44,7 +48,7 @@ example in the synopsis (doubling a list of numbers) is _not_ a sensible
use of this module. use of this module.
%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