forked from pool/perl-Modern-Perl
- updated to 1.20241001 see /usr/share/doc/packages/perl-Modern-Perl/Changes 1.20241001 2024-09-30 19:12:47-07:00 America/Los_Angeles - fix switch tests after Perl 5.41.4 removal of deprecated feature (RT #155822, Slaven Rezic) 1.20240120 2024-01-20 12:15:09-08:00 America/Los_Angeles - fix tests for Perl < 5.26.0 (RT #151198, Slaven Rezic) - fix feature reset for Perl < 5.15 (RT #151190, Slaven Rezic) OBS-URL: https://build.opensuse.org/request/show/1234006 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Modern-Perl?expand=0&rev=44
61 lines
1.7 KiB
RPMSpec
61 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package perl-Modern-Perl
|
|
#
|
|
# 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
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define cpan_name Modern-Perl
|
|
Name: perl-Modern-Perl
|
|
Version: 1.20241001
|
|
Release: 0
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: Enable all of the features of Modern Perl with one import
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHROMATIC/%{cpan_name}-%{version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Test::More) >= 0.98
|
|
BuildRequires: perl(feature)
|
|
BuildRequires: perl(mro)
|
|
Requires: perl(feature)
|
|
Requires: perl(mro)
|
|
%{perl_requires}
|
|
|
|
%description
|
|
enable all of the features of Modern Perl with one import
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
%make_build
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc Changes README
|
|
%license LICENSE
|
|
|
|
%changelog
|