2024-03-12 17:19:07 +00:00
committed by Git OBS Bridge
parent ac94990e48
commit 925e682229
2 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 12 17:02:44 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Sun Dec 18 03:06:41 UTC 2022 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-String-Copyright
#
# Copyright (c) 2022 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,12 +18,13 @@
%define cpan_name String-Copyright
Name: perl-String-Copyright
Version: 0.003014
Version: 0.3.14
Release: 0
%define cpan_version 0.003014
License: SUSE-Public-Domain
Summary: Representation of text-based copyright statements
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/J/JO/JONASS/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/J/JO/JONASS/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
@@ -33,6 +34,8 @@ BuildRequires: perl(Test2::V0)
BuildRequires: perl(Test::Without::Module)
Requires: perl(Exporter::Tiny)
Requires: perl(Set::IntSpan) >= 1.12
Provides: perl(String::Copyright) = %{version}
%undefine __perllib_provides
Recommends: perl(re::engine::RE2)
%{perl_requires}
@@ -41,7 +44,7 @@ String::Copyright identifies copyright statements in a string and
serializes them in a normalized format.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor