11
0

Compare commits

5 Commits

5 changed files with 37 additions and 10 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Test-MockModule/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Test-MockModule)

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:332b46f79e210468b8f739794cae569dc868cf0ec7fa0bd1732f7915352d6031
size 24111

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:390e60361d2c1c404463a46d496681b05458d50d811ee99282992b9b61ed6cf6
size 24736

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Jul 4 05:38:33 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.180.0 (v0.180.0)
see /usr/share/doc/packages/perl-Test-MockModule/Changes
-------------------------------------------------------------------
Sun Sep 1 05:34:20 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.179.0 (v0.179.0)
see /usr/share/doc/packages/perl-Test-MockModule/Changes
-------------------------------------------------------------------
Sat Apr 27 03:09:09 UTC 2024 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-MockModule
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,24 @@
%define cpan_name Test-MockModule
Name: perl-Test-MockModule
Version: 0.178.0
Version: 0.180.0
Release: 0
# v0.180.0 -> normalize -> 0.180.0
%define cpan_version v0.180.0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Override subroutines in a module for unit testing
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/G/GF/GFRANKS/%{cpan_name}-v%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/G/GF/GFRANKS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.38
BuildRequires: perl(SUPER) >= 1.20
BuildRequires: perl(Module::Build) >= 0.423.400
BuildRequires: perl(SUPER) >= 1.200
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Warnings)
Requires: perl(SUPER) >= 1.20
Requires: perl(SUPER) >= 1.200
%{perl_requires}
%description
@@ -45,7 +48,7 @@ restored. This happens automatically when all MockModule objects for the
given module go out of scope, or when you 'unmock()' the subroutine.
%prep
%autosetup -n %{cpan_name}-v%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Build.PL --installdirs=vendor