From 80d2499605fc28362a6e0235236e5a3d402a972b3d3daa17d46453e4fb2f5d6b Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 25 Nov 2013 10:18:36 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-Errf?expand=0&rev=6 --- String-Errf-0.006.tar.gz | 3 --- String-Errf-0.007.tar.gz | 3 +++ perl-String-Errf.changes | 7 +++++++ perl-String-Errf.spec | 31 +++++++++++++++++-------------- 4 files changed, 27 insertions(+), 17 deletions(-) delete mode 100644 String-Errf-0.006.tar.gz create mode 100644 String-Errf-0.007.tar.gz diff --git a/String-Errf-0.006.tar.gz b/String-Errf-0.006.tar.gz deleted file mode 100644 index 0e0ddef..0000000 --- a/String-Errf-0.006.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2c09631fbece8e85a94785abede882f5d29e0f21f72239d01332b3bafd9c53ac -size 15166 diff --git a/String-Errf-0.007.tar.gz b/String-Errf-0.007.tar.gz new file mode 100644 index 0000000..14824e8 --- /dev/null +++ b/String-Errf-0.007.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2491c753f2dce96aab98594ac7a770d1ae80dd744ad3567b03b73ac5baff6aa +size 18047 diff --git a/perl-String-Errf.changes b/perl-String-Errf.changes index 51e3455..1c38ad0 100644 --- a/perl-String-Errf.changes +++ b/perl-String-Errf.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Nov 25 07:39:42 UTC 2013 - coolo@suse.com + +- updated to 0.007 + catch more bad input and die [rt.cpan.org #83552] + update repository and bugtracker metadata + ------------------------------------------------------------------- Tue Apr 5 11:44:18 UTC 2011 - coolo@novell.com diff --git a/perl-String-Errf.spec b/perl-String-Errf.spec index 5f6c54b..b319683 100644 --- a/perl-String-Errf.spec +++ b/perl-String-Errf.spec @@ -1,7 +1,7 @@ # # spec file for package perl-String-Errf # -# Copyright (c) 2012 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,38 +15,44 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-String-Errf -Version: 0.006 +Version: 0.007 Release: 0 %define cpan_name String-Errf Summary: a simple sprintf-like dialect -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/String-Errf/ -Source: http://www.cpan.org/authors/id/R/RJ/RJBS/String-Errf-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Carp) BuildRequires: perl(Date::Format) BuildRequires: perl(JSON) >= 2 BuildRequires: perl(Params::Util) -BuildRequires: perl(Scalar::Util) BuildRequires: perl(String::Formatter) >= 0.102081 BuildRequires: perl(Sub::Exporter) -Requires: perl(Carp) +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(Time::Piece) +BuildRequires: perl(autodie) +BuildRequires: perl(parent) +#BuildRequires: perl(String::Errf) Requires: perl(Params::Util) -Requires: perl(Scalar::Util) Requires: perl(String::Formatter) >= 0.102081 Requires: perl(Sub::Exporter) +Requires: perl(Time::Piece) +Requires: perl(parent) %{perl_requires} %description String::Errf provides 'errf', a simple string formatter that works something like 'perlfunc/sprintf'. It is implemented using the String::Formatter manpage and the Sub::Exporter manpage. Their -documentation may be useful in understanding or extending String::Errf. +documentation may be useful in understanding or extending String::Errf. The +'errf' subroutine is only available when imported. Calling the +String::Errf::errf manpage will not do what you want. %prep %setup -q -n %{cpan_name}-%{version} @@ -56,18 +62,15 @@ documentation may be useful in understanding or extending String::Errf. %{__make} %{?_smp_mflags} %check -# broken upstream %{__make} test +%{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) +%defattr(-,root,root,755) %doc Changes LICENSE README %changelog