Accepting request 1153663 from devel:languages:perl:autoupdate

- updated to 0.010
   see /usr/share/doc/packages/perl-Module-Load-Util/Changes
  0.010   2024-01-24  Released-By: PERLANCAR; Urgency: medium
          - Add functions: call_module_{function,method}_with_optional_args.

OBS-URL: https://build.opensuse.org/request/show/1153663
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Load-Util?expand=0&rev=7
This commit is contained in:
2024-03-08 10:02:25 +00:00
committed by Git OBS Bridge
parent 5c422b0ab8
commit d81526412c
4 changed files with 20 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Load-Util
#
# Copyright (c) 2023 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,12 +18,13 @@
%define cpan_name Module-Load-Util
Name: perl-Module-Load-Util
Version: 0.009
Version: 0.10.0
Release: 0
%define cpan_version 0.010
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Some utility routines related to module loading
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
@@ -32,6 +33,8 @@ BuildRequires: perl(Regexp::Pattern::Perl::Module) >= 0.005
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.98
Requires: perl(Regexp::Pattern::Perl::Module) >= 0.005
Provides: perl(Module::Load::Util) = %{version}
%define __perllib_provides /bin/true
%{perl_requires}
%description
@@ -47,7 +50,7 @@ the applications that use this module.
Please see the functions' documentation for more details.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor