8
0
Stephan Kulow
2015-02-12 08:37:21 +00:00
committed by Git OBS Bridge
parent 621e3f4bb5
commit bde6af0e0c
2 changed files with 12 additions and 13 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 12 08:36:23 UTC 2015 - coolo@suse.com
- fix license
-------------------------------------------------------------------
Thu Apr 21 10:38:51 UTC 2011 - coolo@opensuse.org

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-MockModule (Version 0.05)
# spec file for package perl-Test-MockModule
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,24 +15,20 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Test-MockModule
Version: 0.05
Release: 1
License: You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.
Release: 0
%define cpan_name Test-MockModule
Summary: Override subroutines in a module for unit testing
Url: http://search.cpan.org/dist/Test-MockModule/
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-MockModule/
Source: http://www.cpan.org/authors/id/S/SI/SIMONFLK/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More) >= 0.45
Requires: perl(Scalar::Util)
Requires: perl(Test::More) >= 0.45
%{perl_requires}
%description
@@ -46,6 +42,7 @@ given module go out of scope, or when you 'unmock()' the subroutine.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -59,9 +56,6 @@ given module go out of scope, or when you 'unmock()' the subroutine.
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README