Accepting request 1244033 from devel:languages:perl

- Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/request/show/1244033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Carp-Clan?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2025-02-09 19:00:41 +00:00 committed by Git OBS Bridge
commit 3145978a09
2 changed files with 19 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 6 22:22:16 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Mon Sep 16 12:11:08 UTC 2019 - <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Carp-Clan
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@ -16,20 +16,22 @@
#
Name: perl-Carp-Clan
Version: 6.08
Release: 0
%define cpan_name Carp-Clan
Summary: Report errors from perspective of caller of a "clan" of modules
Name: perl-Carp-Clan
Version: 6.80.0
Release: 0
# 6.08 -> normalize -> 6.80.0
%define cpan_version 6.08
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Summary: Report errors from perspective of caller of a "clan" of modules
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
Provides: perl(Carp::Clan) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@ -80,11 +82,11 @@ modules (more than one) work together and appear as though they were only
one.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@ -95,7 +97,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING README
%license LICENSE