8
0

Compare commits

...

22 Commits

Author SHA256 Message Date
cb44622124 Accepting request 1292413 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1292413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=18
2025-07-14 08:51:34 +00:00
a93419871e Accepting request 1292101 from devel:languages:perl:autoupdate
- updated to 0.180.0 (v0.180.0)
   see /usr/share/doc/packages/perl-Test-MockModule/Changes

OBS-URL: https://build.opensuse.org/request/show/1292101
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-MockModule?expand=0&rev=42
2025-07-12 16:26:48 +00:00
8f5efb555f Accepting request 1233979 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1233979
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=17
2025-01-01 22:07:34 +00:00
913e7888c8 Accepting request 1203075 from devel:languages:perl:autoupdate
- updated to 0.179.0 (v0.179.0)
   see /usr/share/doc/packages/perl-Test-MockModule/Changes

OBS-URL: https://build.opensuse.org/request/show/1203075
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-MockModule?expand=0&rev=40
2024-12-31 00:19:35 +00:00
869017cf39 Accepting request 1174467 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1174467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=16
2024-05-16 15:16:58 +00:00
3e13476b44 Accepting request 1173744 from devel:languages:perl:autoupdate
- updated to 0.178.0
   see /usr/share/doc/packages/perl-Test-MockModule/Changes
  v0.178.0
  - 6724a30 - Simplify CI workflow - Nicolas R
  - 1801372 - Multiple improvements -  Nicolas R
  - e97e316 - Add protection to _replace_sub - Nicolas R

OBS-URL: https://build.opensuse.org/request/show/1173744
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-MockModule?expand=0&rev=38
2024-05-16 12:01:38 +00:00
1a4728ba58 Accepting request 918700 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/918700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=15
2021-09-14 19:14:13 +00:00
1b1efa5b86 Accepting request 918673 from devel:languages:perl:autoupdate
- updated to 0.177.0
   see /usr/share/doc/packages/perl-Test-MockModule/Changes
  v0.177.0
  - 35f0d0b Update changelog - Geoff Franks
  - 1d5b485 Move test modules from build to test requires - Olaf Alders
  - 78afe10 Clean up changelog - Geoff Franks
  v0.277.0
  - Move test modules from build to test requires - Olaf Alders

OBS-URL: https://build.opensuse.org/request/show/918673
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-MockModule?expand=0&rev=37
2021-09-13 11:50:04 +00:00
79eccf91ab Accepting request 860696 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/860696
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=14
2021-01-06 18:57:06 +00:00
0f7f8f4a6b Accepting request 860684 from devel:languages:perl:autoupdate
- updated to 0.176.0
   see /usr/share/doc/packages/perl-Test-MockModule/Changes
  v0.176.0
  - 3ba8bc7 lexically scoped strictness - David Cantrell
  - e57fc5a Update ci with dockerhub auth - Geoff Franks
  - bfe1e63 Update GitHub workflow with deprecated add-path - Nicolas R
  vX.XXX.X
  - XXXXXXX 'strict' mode is now lexically scoped

OBS-URL: https://build.opensuse.org/request/show/860684
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-MockModule?expand=0&rev=35
2021-01-06 11:00:01 +00:00
98b5ea4da5 Accepting request 835370 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/835370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=13
2020-09-18 13:21:28 +00:00
30b52b5d80 Accepting request 815254 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/815254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=12
2020-06-18 08:35:38 +00:00
7f83a319b9 Accepting request 777610 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/777610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=11
2020-02-22 17:56:34 +00:00
1b411c35e7 Accepting request 742094 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/742094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=10
2019-10-28 15:43:46 +00:00
7da2387b1f Accepting request 638964 from devel:languages:perl
- updated to 0.170.0
   see /usr/share/doc/packages/perl-Test-MockModule/Changes
  v0.170.0
  - 182d066 Fix versioning for semver conversion + PAUSE - Geoff Franks
  - 4afeedf release v0.17.0 - CI Bot
  - 9df8ac4 Add CI pipeline for releasing to cpan - Geoff Franks
  - 577350e Pod - provide a code snippet for original usage - Nicolas R
  - 3e4ec72 Add missing pod entries - Geoff Franks
  
  v0.16
      - Fixes an issue where warnings were thrown for mismatched prototypes,
        when mocking a prototyped function.
  
        Thanks @toddr for the fix!

OBS-URL: https://build.opensuse.org/request/show/638964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=9
2018-10-01 06:14:47 +00:00
d909793322 Accepting request 610761 from devel:languages:perl
- updated to 0.15
   see /usr/share/doc/packages/perl-Test-MockModule/Changes
  v0.15
      - Fixes a minor bug in the release tarball

OBS-URL: https://build.opensuse.org/request/show/610761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=8
2018-06-02 09:50:00 +00:00
a3b6037e49 Accepting request 610499 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/610499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=7
2018-05-19 13:39:15 +00:00
b17125e1b9 Accepting request 532515 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/532515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=6
2017-10-11 20:55:04 +00:00
14b3569886 Accepting request 510428 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/510428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=5
2017-07-21 20:37:29 +00:00
45d4a92fae Accepting request 341431 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/341431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=4
2015-10-30 12:43:32 +00:00
2d1877d27f Accepting request 311226 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/311226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=3
2015-06-09 10:25:01 +00:00
Stephan Kulow
ec3883f310 Accepting request 297276 from devel:languages:perl
- set license to GPL-3.0+

- updated to 0.09
   see /usr/share/doc/packages/perl-Test-MockModule/Changes
  v0.08 2015-03-15
      - Ensure LICENSE autogenerates for distribution, fixed license issues in Build.PL
  
  v0.08 2015-03-14
      - Updated README with correct instructions now that we use Build.PL
  
  v0.07 2015-03-14
      - Updated docs for more clarity when handling objects of mocked classes.
  
  v0.06 2015-03-07
      - unmock() on inherited subroutines will dispatch to the parent module,
        rather than replace the local subroutine with the parent's subroutine
        from the time of mocking (RT77439)

OBS-URL: https://build.opensuse.org/request/show/297276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-MockModule?expand=0&rev=2
2015-04-25 07:52:11 +00:00
4 changed files with 70 additions and 19 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07b284d713dd82ced1b42c60ccb1621a3c77c54b21b13b8694a75945c045eefe
size 21914

View File

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

View File

@@ -1,3 +1,55 @@
-------------------------------------------------------------------
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>
- updated to 0.178.0
see /usr/share/doc/packages/perl-Test-MockModule/Changes
v0.178.0
- 6724a30 - Simplify CI workflow - Nicolas R
- 1801372 - Multiple improvements - Nicolas R
- e97e316 - Add protection to _replace_sub - Nicolas R
-------------------------------------------------------------------
Wed Sep 8 03:06:22 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 0.177.0
see /usr/share/doc/packages/perl-Test-MockModule/Changes
v0.177.0
- 35f0d0b Update changelog - Geoff Franks
- 1d5b485 Move test modules from build to test requires - Olaf Alders
- 78afe10 Clean up changelog - Geoff Franks
v0.277.0
- Move test modules from build to test requires - Olaf Alders
-------------------------------------------------------------------
Wed Jan 6 03:09:19 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 0.176.0
see /usr/share/doc/packages/perl-Test-MockModule/Changes
v0.176.0
- 3ba8bc7 lexically scoped strictness - David Cantrell
- e57fc5a Update ci with dockerhub auth - Geoff Franks
- bfe1e63 Update GitHub workflow with deprecated add-path - Nicolas R
vX.XXX.X
- XXXXXXX 'strict' mode is now lexically scoped
-------------------------------------------------------------------
Fri Sep 18 03:15:42 UTC 2020 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-MockModule
#
# Copyright (c) 2020 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
@@ -16,25 +16,25 @@
#
Name: perl-Test-MockModule
Version: 0.175.0
Release: 0
%define cpan_name Test-MockModule
Summary: Override subroutines in a module for unit testing
Name: perl-Test-MockModule
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
Group: Development/Libraries/Perl
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
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.380000
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
@@ -47,21 +47,20 @@ restored. This happens automatically when all MockModule objects for the
given module go out of scope, or when you 'unmock()' the subroutine.
%prep
%setup -q -n %{cpan_name}-v%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README.md
%license LICENSE