8
0

Accepting request 1102950 from home:dimstar:Factory

- Add 0001-Adjust-require-exception-to-perl-5.37.8-wording.patch:
  Fix build using Perl 5.38.

OBS-URL: https://build.opensuse.org/request/show/1102950
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Reader?expand=0&rev=10
This commit is contained in:
2023-08-08 15:28:15 +00:00
committed by Git OBS Bridge
parent 612ce59225
commit daa9a624dc
4 changed files with 104 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Reader
#
# Copyright (c) 2017 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,7 +12,7 @@
# 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/
#
@@ -21,11 +21,12 @@ Version: 0.003003
Release: 0
%define cpan_name Module-Reader
Summary: Find and read perl modules like perl does
License: Artistic-1.0 or GPL-1.0+
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Reader/
URL: http://search.cpan.org/dist/Module-Reader/
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Patch0: 0001-Adjust-require-exception-to-perl-5.37.8-wording.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -42,6 +43,7 @@ and _do|perlfunc/do_.
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor