|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file for package perl-ExtUtils-MakeMaker-CPANfile
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2018 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,18 +16,18 @@
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-ExtUtils-MakeMaker-CPANfile
|
|
|
|
|
Version: 0.09
|
|
|
|
|
Release: 0
|
|
|
|
|
%define cpan_name ExtUtils-MakeMaker-CPANfile
|
|
|
|
|
Summary: Cpanfile Support for Eumm
|
|
|
|
|
Name: perl-ExtUtils-MakeMaker-CPANfile
|
|
|
|
|
Version: 0.90.0
|
|
|
|
|
Release: 0
|
|
|
|
|
# 0.09 -> normalize -> 0.90.0
|
|
|
|
|
%define cpan_version 0.09
|
|
|
|
|
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/I/IS/ISHIGAKI/%{cpan_name}-%{version}.tar.gz
|
|
|
|
|
Summary: Cpanfile support for EUMM
|
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/%{cpan_name}-%{cpan_version}.tar.gz
|
|
|
|
|
Source1: cpanspec.yml
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
BuildRequires: perl(CPAN::Meta::Converter) >= 2.141170
|
|
|
|
@@ -38,6 +38,8 @@ Requires: perl(CPAN::Meta::Converter) >= 2.141170
|
|
|
|
|
Requires: perl(Module::CPANfile)
|
|
|
|
|
Requires: perl(Test::More) >= 0.88
|
|
|
|
|
Requires: perl(version) >= 0.76
|
|
|
|
|
Provides: perl(ExtUtils::MakeMaker::CPANfile) = %{version}
|
|
|
|
|
%undefine __perllib_provides
|
|
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@@ -51,11 +53,11 @@ WriteMakefile parameters that the installed version of ExtUtils::MakeMaker
|
|
|
|
|
doesn't know, to avoid warnings.
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
@@ -66,7 +68,6 @@ make test
|
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
|
%doc Changes README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|