forked from pool/perl-Test-MockModule
Compare commits
22 Commits
bb16fc76f0
...
cb44622124
Author | SHA256 | Date | |
---|---|---|---|
cb44622124 | |||
a93419871e | |||
8f5efb555f | |||
913e7888c8 | |||
869017cf39 | |||
3e13476b44 | |||
1a4728ba58 | |||
1b1efa5b86 | |||
79eccf91ab | |||
0f7f8f4a6b | |||
98b5ea4da5 | |||
30b52b5d80 | |||
7f83a319b9 | |||
1b411c35e7 | |||
7da2387b1f | |||
d909793322 | |||
a3b6037e49 | |||
b17125e1b9 | |||
14b3569886 | |||
45d4a92fae | |||
2d1877d27f | |||
|
ec3883f310 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:07b284d713dd82ced1b42c60ccb1621a3c77c54b21b13b8694a75945c045eefe
|
||||
size 21914
|
3
Test-MockModule-v0.180.0.tar.gz
Normal file
3
Test-MockModule-v0.180.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:390e60361d2c1c404463a46d496681b05458d50d811ee99282992b9b61ed6cf6
|
||||
size 24736
|
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user