diff --git a/String-Util-1.01.tar.gz b/String-Util-1.01.tar.gz deleted file mode 100644 index 204ec71..0000000 --- a/String-Util-1.01.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5e2d8622d0b32b48f93a09bd60ef7816ca727e1d0f02c0f7f4d7b4f41f79f1fd -size 8426 diff --git a/String-Util-1.24.tar.gz b/String-Util-1.24.tar.gz new file mode 100644 index 0000000..73c8a15 --- /dev/null +++ b/String-Util-1.24.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7bfa7db4efac1726c581d28a1b9cca73492426a055694b13c1dc1ff4ef6a8799 +size 17697 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b320f5 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,20 @@ +--- +#description_paragraphs: 3 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: - +#./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-String-Util.changes b/perl-String-Util.changes index 76329f4..6dd0545 100644 --- a/perl-String-Util.changes +++ b/perl-String-Util.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 17 17:53:21 UTC 2015 - coolo@suse.com + +- updated to 1.24 + see /usr/share/doc/packages/perl-String-Util/Changes + ------------------------------------------------------------------- Wed Sep 28 14:26:07 UTC 2011 - coolo@suse.com diff --git a/perl-String-Util.spec b/perl-String-Util.spec index f6b81dd..c085167 100644 --- a/perl-String-Util.spec +++ b/perl-String-Util.spec @@ -1,7 +1,7 @@ # # spec file for package perl-String-Util # -# Copyright (c) 2011 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 @@ -16,23 +16,23 @@ # - Name: perl-String-Util -Version: 1.01 -Release: 1 -License: CHECK(GPL+ or Artistic) +Version: 1.24 +Release: 0 %define cpan_name String-Util -Summary: String::Util Perl module -Url: http://search.cpan.org/dist/String-Util/ +Summary: String processing utilities +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Source: http://www.cpan.org/authors/id/M/MI/MIKO/%{cpan_name}-%{version}.tar.gz +Url: http://search.cpan.org/dist/String-Util/ +Source0: http://www.cpan.org/authors/id/M/MI/MIKO/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Debug::ShowStuff) >= 1.1 -#BuildRequires: perl(String::Util) -Requires: perl(Debug::ShowStuff) >= 1.1 +BuildRequires: perl(Module::Build) +BuildRequires: perl(Number::Misc) +Requires: perl(Number::Misc) %{perl_requires} %description @@ -43,19 +43,18 @@ strings. %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} %check -%{__make} test +./Build test %install -%perl_make_install -%perl_process_packlist +./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) -%doc README +%doc Changes LICENSE README %changelog