diff --git a/Sub-Override-0.08.tar.gz b/Sub-Override-0.08.tar.gz deleted file mode 100644 index 37ac961..0000000 --- a/Sub-Override-0.08.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:72d2ef2d340f80b273a6b2798750026fbf64616dbc2eb2372858808f4dfc458f -size 5524 diff --git a/Sub-Override-0.09.tar.gz b/Sub-Override-0.09.tar.gz new file mode 100644 index 0000000..743b213 --- /dev/null +++ b/Sub-Override-0.09.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:939a67c1f729968e0cc81b74958db750e1bdb7c020bee1a263332f422c2e25b5 +size 6462 diff --git a/perl-Sub-Override.changes b/perl-Sub-Override.changes index 784e761..8ceac69 100644 --- a/perl-Sub-Override.changes +++ b/perl-Sub-Override.changes @@ -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 diff --git a/perl-Sub-Override.spec b/perl-Sub-Override.spec index 09aa72e..931ddcd 100644 --- a/perl-Sub-Override.spec +++ b/perl-Sub-Override.spec @@ -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 # remain the property of their copyright owners, unless otherwise agreed @@ -15,43 +15,26 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - -%bcond_with pod Name: perl-Sub-Override +Version: 0.09 +Release: 0 %define cpan_name Sub-Override Summary: Perl extension for easily overriding subroutines -Version: 0.08 -Release: 2 -License: GPL+ or Artistic +License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros -%if %{with pod} -BuildRequires: perl(Test::Pod) >= 1.14 -BuildRequires: perl(Test::Pod::Coverage) >= 1.04 -%endif -BuildRequires: perl(Sub::Uplevel) -BuildRequires: perl(Test::Exception) >= 0.21 -# -Requires: perl(Sub::Uplevel) -Requires: perl(Test::Exception) >= 0.21 +BuildRequires: perl(Test::Fatal) >= 0.010 +Requires: perl(Test::Fatal) >= 0.010 +%{perl_requires} %description -Sometimes subroutines need to be overridden. In fact, your author does -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, +Perl extension for easily overriding subroutines %prep %setup -q -n %{cpan_name}-%{version} @@ -65,18 +48,11 @@ Authors: %install %perl_make_install -# do not perl_process_packlist (noarch) -# remove .packlist file -%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch -# remove perllocal.pod file -%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +%perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root,-) -%doc Changes README +%defattr(-,root,root,755) +%doc Changes README README.md %changelog