Accepting request 177562 from home:coolo:update-perl
- updated to 0.09 Switch from Test::Exception to Test::Fatal. Fix two typos on the POD. Patches from Ansgar Burchardt and david.skyba. OBS-URL: https://build.opensuse.org/request/show/177562 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Sub-Override?expand=0&rev=10
This commit is contained in:
parent
2241e9fc7b
commit
6bb24d4183
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:72d2ef2d340f80b273a6b2798750026fbf64616dbc2eb2372858808f4dfc458f
|
|
||||||
size 5524
|
|
BIN
Sub-Override-0.09.tar.gz
(Stored with Git LFS)
Normal file
BIN
Sub-Override-0.09.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 4 17:18:39 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.09
|
||||||
|
Switch from Test::Exception to Test::Fatal.
|
||||||
|
Fix two typos on the POD. Patches from Ansgar Burchardt and david.skyba.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 30 19:20:45 UTC 2010 - coolo@novell.com
|
Tue Nov 30 19:20:45 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Sub-Override (Version 0.08)
|
# spec file for package perl-Sub-Override
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products 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,43 +15,26 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
%bcond_with pod
|
|
||||||
|
|
||||||
Name: perl-Sub-Override
|
Name: perl-Sub-Override
|
||||||
|
Version: 0.09
|
||||||
|
Release: 0
|
||||||
%define cpan_name Sub-Override
|
%define cpan_name Sub-Override
|
||||||
Summary: Perl extension for easily overriding subroutines
|
Summary: Perl extension for easily overriding subroutines
|
||||||
Version: 0.08
|
License: GPL-1.0+ or Artistic-1.0
|
||||||
Release: 2
|
|
||||||
License: GPL+ or Artistic
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Sub-Override/
|
Url: http://search.cpan.org/dist/Sub-Override/
|
||||||
Source: http://www.cpan.org/modules/by-module/Sub/Sub-Override-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/O/OV/OVID/%{cpan_name}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%if %{with pod}
|
BuildRequires: perl(Test::Fatal) >= 0.010
|
||||||
BuildRequires: perl(Test::Pod) >= 1.14
|
Requires: perl(Test::Fatal) >= 0.010
|
||||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
%{perl_requires}
|
||||||
%endif
|
|
||||||
BuildRequires: perl(Sub::Uplevel)
|
|
||||||
BuildRequires: perl(Test::Exception) >= 0.21
|
|
||||||
#
|
|
||||||
Requires: perl(Sub::Uplevel)
|
|
||||||
Requires: perl(Test::Exception) >= 0.21
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Sometimes subroutines need to be overridden. In fact, your author does
|
Perl extension for easily overriding subroutines
|
||||||
this constantly for tests. Particularly when testing, using a
|
|
||||||
Mock Object can be overkill when all you want to do is override
|
|
||||||
one tiny, little function.
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Curtis "Ovid" Poe, <eop_divo_sitruc@yahoo.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
@ -65,18 +48,11 @@ Authors:
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
# do not perl_process_packlist (noarch)
|
%perl_process_packlist
|
||||||
# remove .packlist file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
||||||
# remove perllocal.pod file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%doc Changes README README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user