8
0

Accepting request 1084381 from devel:languages:perl:autoupdate

- updated to 1.21
   see /usr/share/doc/packages/perl-Module-Install/Changes
  1.21  2023-04-28
    - fix tests broken by Module::Install::DSL removal
  1.20  2023-04-27
    - Module::Install::DSL has been removed, as its use is highly discouraged.

OBS-URL: https://build.opensuse.org/request/show/1084381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Install?expand=0&rev=26
This commit is contained in:
2023-05-03 15:19:57 +00:00
committed by Git OBS Bridge
parent ddea6d2fc8
commit e173598d51
4 changed files with 26 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Install
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +12,20 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Module-Install
Version: 1.19
Release: 0
%define cpan_name Module-Install
Name: perl-Module-Install
Version: 1.21
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Standalone, extensible Perl module installer
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Install/
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Devel::PPPort) >= 3.16
@@ -75,14 +73,14 @@ the best practices for distribution installation, but involve as much DWIM
(Do What I Mean) as possible when writing them.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -90,7 +88,6 @@ the best practices for distribution installation, but involve as much DWIM
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README TODO
%changelog