SHA256
8
0
forked from pool/perl-curry

2 Commits

2 changed files with 16 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 23 21:31:19 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Fri Dec 31 03:11:10 UTC 2021 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-curry
#
# Copyright (c) 2021 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,23 +18,28 @@
%define cpan_name curry
Name: perl-curry
Version: 2.000001
Version: 2.0.1
Release: 0
Summary: Create automatic curried method call closures for any class or object
# 2.000001 -> normalize -> 2.0.1
%define cpan_version 2.000001
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Create automatic curried method call closures for any class or object
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSTROUT/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSTROUT/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
Provides: perl(curry) = %{version}
Provides: perl(curry::weak)
%undefine __perllib_provides
%{perl_requires}
%description
Create automatic curried method call closures for any class or object
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor