diff --git a/String-Formatter-0.102084.tar.gz b/String-Formatter-0.102084.tar.gz deleted file mode 100644 index 7abb5f2..0000000 --- a/String-Formatter-0.102084.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:83354112fd0c66df1e12e022df75efbf30ebdb43581c00897c86ec1c33a89c56 -size 20981 diff --git a/String-Formatter-1.234.tar.gz b/String-Formatter-1.234.tar.gz new file mode 100644 index 0000000..4fd8ef4 --- /dev/null +++ b/String-Formatter-1.234.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50dc508a276a877854f2723e54bbdc0e0b6b08c525daad4f6d0cbf262bb3f14d +size 26321 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..ab24ed9 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,35 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +# baz.patch: PATCH-FIX-OPENSUSE +#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_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module +#skip_doc: regexp_to_skip_for_doc.* +#add_doc: files to add to docs +#misc: |- +#anything else to be added to spec file +#follows directly after %files section, so it can contain new blocks or also +#changes to %files section diff --git a/perl-String-Formatter.changes b/perl-String-Formatter.changes index 632b5ac..2e160bb 100644 --- a/perl-String-Formatter.changes +++ b/perl-String-Formatter.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sun Aug 29 03:07:32 UTC 2021 - Tina Müller + +- updated to 1.234 + see /usr/share/doc/packages/perl-String-Formatter/Changes + + 1.234 2021-08-28 17:28:18-04:00 America/New_York + - move bench.pl from dist root so it won't get installed to @INC + - fix some problems with doc layout + ------------------------------------------------------------------- Mon Nov 25 07:38:07 UTC 2013 - coolo@suse.com diff --git a/perl-String-Formatter.spec b/perl-String-Formatter.spec index a9e1ed2..7fb10f1 100644 --- a/perl-String-Formatter.spec +++ b/perl-String-Formatter.spec @@ -1,7 +1,7 @@ # # spec file for package perl-String-Formatter # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,27 +12,26 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Name: perl-String-Formatter -Version: 0.102084 -Release: 0 %define cpan_name String-Formatter -Summary: build sprintf-like functions of your own -License: GPL-2.0 -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/String-Formatter/ -Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz +Name: perl-String-Formatter +Version: 1.234 +Release: 0 +Summary: Build sprintf-like functions of your own +License: GPL-1.0-or-later +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78 BuildRequires: perl(Params::Util) BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Test::More) >= 0.96 -#BuildRequires: perl(String::Formatter) Requires: perl(Params::Util) Requires: perl(Sub::Exporter) %{perl_requires} @@ -86,18 +85,18 @@ defaults 'method_replace' and 'require_single_input'. Finally, a 'require_arrayref_input'. For more on these, keep reading, and check out the cookbook. -the String::Formatter::Cookbook manpage provides a number of recipes for -ways to put String::Formatter to use. +String::Formatter::Cookbook provides a number of recipes for ways to put +String::Formatter to use. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -105,7 +104,7 @@ ways to put String::Formatter to use. %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc Changes LICENSE README +%doc Changes README +%license LICENSE %changelog