- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-Copyright?expand=0&rev=3
This commit is contained in:
@@ -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>
|
Sun Dec 18 03:06:41 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-String-Copyright
|
# 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
|
# 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,12 +18,13 @@
|
|||||||
|
|
||||||
%define cpan_name String-Copyright
|
%define cpan_name String-Copyright
|
||||||
Name: perl-String-Copyright
|
Name: perl-String-Copyright
|
||||||
Version: 0.003014
|
Version: 0.3.14
|
||||||
Release: 0
|
Release: 0
|
||||||
|
%define cpan_version 0.003014
|
||||||
License: SUSE-Public-Domain
|
License: SUSE-Public-Domain
|
||||||
Summary: Representation of text-based copyright statements
|
Summary: Representation of text-based copyright statements
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
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
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
@@ -33,6 +34,8 @@ BuildRequires: perl(Test2::V0)
|
|||||||
BuildRequires: perl(Test::Without::Module)
|
BuildRequires: perl(Test::Without::Module)
|
||||||
Requires: perl(Exporter::Tiny)
|
Requires: perl(Exporter::Tiny)
|
||||||
Requires: perl(Set::IntSpan) >= 1.12
|
Requires: perl(Set::IntSpan) >= 1.12
|
||||||
|
Provides: perl(String::Copyright) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
Recommends: perl(re::engine::RE2)
|
Recommends: perl(re::engine::RE2)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
@@ -41,7 +44,7 @@ String::Copyright identifies copyright statements in a string and
|
|||||||
serializes them in a normalized format.
|
serializes them in a normalized format.
|
||||||
|
|
||||||
%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
|
||||||
|
Reference in New Issue
Block a user