8
0

Accepting request 777609 from devel:languages:perl:autoupdate

- updated to 0.172.0
   see /usr/share/doc/packages/perl-Test-MockModule/Changes
  v0.172.0
  - 7558aa9 Make sure we can redefine a function in 'main' - Nicolas R
  - 0538fe1 Plug GitHub workflow as additional CI - Nicolas R
  - 0e9d90b update parallel to use in_parallel instead ofaggregate - Geoff Franks

OBS-URL: https://build.opensuse.org/request/show/777609
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-MockModule?expand=0&rev=28
This commit is contained in:
Stephan Kulow
2020-02-20 09:21:18 +00:00
committed by Git OBS Bridge
parent f4e44478ee
commit 2abce93e77
4 changed files with 19 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-MockModule
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-Test-MockModule
Version: 0.171.0
Version: 0.172.0
Release: 0
%define cpan_name Test-MockModule
Summary: Override subroutines in a module for unit testing
@@ -31,10 +31,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.380000
BuildRequires: perl(SUPER)
BuildRequires: perl(SUPER) >= 1.20
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Warnings)
Requires: perl(SUPER)
Requires: perl(SUPER) >= 1.20
%{perl_requires}
%description
@@ -48,7 +48,7 @@ given module go out of scope, or when you 'unmock()' the subroutine.
%prep
%setup -q -n %{cpan_name}-v%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Build.PL installdirs=vendor