2024-08-12 19:47:40 +00:00
committed by Git OBS Bridge
parent 03526d05ea
commit 430bf8dac4

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-cpmfile
#
# 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,25 +18,32 @@
%define cpan_name Module-cpmfile
Name: perl-Module-cpmfile
Version: 0.006
Version: 0.6.0
Release: 0
# 0.006 -> normalize -> 0.6.0
%define cpan_version 0.006
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Parse cpmfile
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SK/SKAJI/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/S/SK/SKAJI/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta::Prereqs)
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.130000
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.130
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: perl(Module::CPANfile) >= 1.1004
BuildRequires: perl(Test2::V0)
BuildRequires: perl(YAML::PP) >= 0.027
Requires: perl(CPAN::Meta::Prereqs)
Requires: perl(CPAN::Meta::Requirements) >= 2.130000
Requires: perl(CPAN::Meta::Requirements) >= 2.130
Requires: perl(YAML::PP) >= 0.027
Provides: perl(Module::cpmfile) = %{version}
Provides: perl(Module::cpmfile::Prereqs)
Provides: perl(Module::cpmfile::Util)
%undefine __perllib_provides
%{perl_requires}
%description
@@ -51,7 +58,7 @@ https://github.com/skaji/cpmfile/blob/main/jsonschema.json.
cpmfile will be used mainly by App::cpm.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Build.PL --installdirs=vendor