8
0

Accepting request 295981 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/295981
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-MockModule?expand=0&rev=4
This commit is contained in:
Stephan Kulow
2015-04-14 05:06:00 +00:00
committed by Git OBS Bridge
parent 84e5f5b3dd
commit 26639cbb23
4 changed files with 34 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67c515258c76780009e58305ec56f195e1b110d0cabb52792d57dd1761396e07
size 5608

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e9d5b6883b342726dfff17d3dd542bcc5f19151d8cf61d37e980068403ee946
size 23108

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Mon Apr 13 18:37:51 UTC 2015 - coolo@suse.com
- 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)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 12 08:36:23 UTC 2015 - coolo@suse.com Thu Feb 12 08:36:23 UTC 2015 - coolo@suse.com

View File

@@ -17,18 +17,21 @@
Name: perl-Test-MockModule Name: perl-Test-MockModule
Version: 0.05 Version: 0.09
Release: 0 Release: 0
%define cpan_name Test-MockModule %define cpan_name Test-MockModule
Summary: Override subroutines in a module for unit testing Summary: Override subroutines in a module for unit testing
License: Artistic-1.0 or GPL-1.0+ License: GPL-1.0+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-MockModule/ Url: http://search.cpan.org/dist/Test-MockModule/
Source: http://www.cpan.org/authors/id/S/SI/SIMONFLK/%{cpan_name}-%{version}.tar.gz Source: http://www.cpan.org/authors/id/G/GF/GFRANKS/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.38
BuildRequires: perl(SUPER)
Requires: perl(SUPER)
%{perl_requires} %{perl_requires}
%description %description
@@ -45,19 +48,18 @@ given module go out of scope, or when you 'unmock()' the subroutine.
find . -type f -print0 | xargs -0 chmod 644 find . -type f -print0 | xargs -0 chmod 644
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Build.PL installdirs=vendor
%{__make} %{?_smp_mflags} ./Build build flags=%{?_smp_mflags}
%check %check
%{__make} test ./Build test
%install %install
%perl_make_install ./Build install destdir=%{buildroot} create_packlist=0
%perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc Changes README %doc Changes LICENSE README
%changelog %changelog