forked from pool/perl-Test-MockModule
Compare commits
18 Commits
bb16fc76f0
...
leap-16.0
Author | SHA256 | Date | |
---|---|---|---|
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.178.0.tar.gz
Normal file
3
Test-MockModule-v0.178.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:332b46f79e210468b8f739794cae569dc868cf0ec7fa0bd1732f7915352d6031
|
||||
size 24111
|
@@ -1,3 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
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) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,21 +16,19 @@
|
||||
#
|
||||
|
||||
|
||||
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.178.0
|
||||
Release: 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
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Build) >= 0.380000
|
||||
BuildRequires: perl(Module::Build) >= 0.38
|
||||
BuildRequires: perl(SUPER) >= 1.20
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::Warnings)
|
||||
@@ -47,21 +45,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}-v%{version}
|
||||
|
||||
%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