diff --git a/Template-Tiny-1.12.tar.gz b/Template-Tiny-1.12.tar.gz deleted file mode 100644 index 1b11960..0000000 --- a/Template-Tiny-1.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:073e062c630b51dfb725cd6485a329155cb72d5c596e8cb698eb67c4566f0a4a -size 17559 diff --git a/Template-Tiny-1.13.tar.gz b/Template-Tiny-1.13.tar.gz new file mode 100644 index 0000000..8fadb9c --- /dev/null +++ b/Template-Tiny-1.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b52f3083b2e4797146928248f1d2a18c17efd69f58663d3cf51bd75d065bf7e +size 31224 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-Template-Tiny.changes b/perl-Template-Tiny.changes index a7785cf..84b7ba1 100644 --- a/perl-Template-Tiny.changes +++ b/perl-Template-Tiny.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jan 31 03:08:43 UTC 2021 - Tina Müller + +- updated to 1.13 + see /usr/share/doc/packages/perl-Template-Tiny/Changes + ------------------------------------------------------------------- Tue Jun 4 12:10:17 UTC 2013 - coolo@suse.com diff --git a/perl-Template-Tiny.spec b/perl-Template-Tiny.spec index 598ba3d..9fd06b0 100644 --- a/perl-Template-Tiny.spec +++ b/perl-Template-Tiny.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Template-Tiny # -# 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,29 +12,27 @@ # 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-Template-Tiny -Version: 1.12 -Release: 0 %define cpan_name Template-Tiny +Name: perl-Template-Tiny +Version: 1.13 +Release: 0 Summary: Template Toolkit reimplemented in as little code as possible -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Template-Tiny/ -Source: http://www.cpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz +License: Artistic-1.0 OR GPL-1.0-or-later +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -#BuildRequires: perl(Template::Tiny) %{perl_requires} %description *Template::Tiny* is a reimplementation of a subset of the functionality -from the Template manpage Toolkit in as few lines of code as possible. +from Template Toolkit in as few lines of code as possible. It is intended for use in light-usage, low-memory, or low-cpu templating situations, where you may need to upgrade to the full feature set in the @@ -49,14 +47,14 @@ compile phase (but despite this is still quicker, owing to heavy use of the Perl regular expression engine. %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 @@ -64,7 +62,7 @@ Perl regular expression engine. %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc Changes LICENSE README +%doc Changes CONTRIBUTING README +%license LICENSE %changelog