Accepting request 868901 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/868901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Template-Tiny?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2021-02-03 18:56:23 +00:00 committed by Git OBS Bridge
commit 4f8a98c746
5 changed files with 60 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:073e062c630b51dfb725cd6485a329155cb72d5c596e8cb698eb67c4566f0a4a
size 17559

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b52f3083b2e4797146928248f1d2a18c17efd69f58663d3cf51bd75d065bf7e
size 31224

35
cpanspec.yml Normal file
View File

@ -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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jan 31 03:08:43 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.13
see /usr/share/doc/packages/perl-Template-Tiny/Changes
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 4 12:10:17 UTC 2013 - coolo@suse.com Tue Jun 4 12:10:17 UTC 2013 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Template-Tiny # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 %define cpan_name Template-Tiny
Name: perl-Template-Tiny
Version: 1.13
Release: 0
Summary: Template Toolkit reimplemented in as little code as possible Summary: Template Toolkit reimplemented in as little code as possible
License: Artistic-1.0 or GPL-1.0+ License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl URL: https://metacpan.org/release/%{cpan_name}
Url: http://search.cpan.org/dist/Template-Tiny/ Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source: http://www.cpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
#BuildRequires: perl(Template::Tiny)
%{perl_requires} %{perl_requires}
%description %description
*Template::Tiny* is a reimplementation of a subset of the functionality *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 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 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. Perl regular expression engine.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
@ -64,7 +62,7 @@ Perl regular expression engine.
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %doc Changes CONTRIBUTING README
%doc Changes LICENSE README %license LICENSE
%changelog %changelog