forked from pool/perl-Test-MockModule
update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-MockModule?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
621e3f4bb5
commit
bde6af0e0c
@@ -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
|
Thu Apr 21 10:38:51 UTC 2011 - coolo@opensuse.org
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,24 +15,20 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Test-MockModule
|
Name: perl-Test-MockModule
|
||||||
Version: 0.05
|
Version: 0.05
|
||||||
Release: 1
|
Release: 0
|
||||||
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.
|
|
||||||
%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
|
||||||
Url: http://search.cpan.org/dist/Test-MockModule/
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
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
|
Source: http://www.cpan.org/authors/id/S/SI/SIMONFLK/%{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(ExtUtils::MakeMaker)
|
|
||||||
BuildRequires: perl(Scalar::Util)
|
|
||||||
BuildRequires: perl(Test::More) >= 0.45
|
|
||||||
Requires: perl(Scalar::Util)
|
|
||||||
Requires: perl(Test::More) >= 0.45
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -46,6 +42,7 @@ given module go out of scope, or when you 'unmock()' the subroutine.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__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_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
|
|||||||
Reference in New Issue
Block a user