Accepting request 935409 from devel:languages:perl:autoupdate

- updated to 0.9521
   see /usr/share/doc/packages/perl-HTML-Template-Pro/Changes
  	- misc bugfixes
  0.9520 
  	- added pcre2 support (old pcre support stil exists)
  	- closed rt.cpan.org #140119 - pcre2 support
  0.9521 
  	- closed rt.cpan.org #109255 - urlencode shouldn't encode '\'.

OBS-URL: https://build.opensuse.org/request/show/935409
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Template-Pro?expand=0&rev=13
This commit is contained in:
Stephan Kulow
2021-12-06 09:08:49 +00:00
committed by Git OBS Bridge
parent fa592a9bab
commit c8903f2143
5 changed files with 71 additions and 23 deletions

View File

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

View File

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

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,18 @@
-------------------------------------------------------------------
Fri Dec 3 03:06:31 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 0.9521
see /usr/share/doc/packages/perl-HTML-Template-Pro/Changes
- misc bugfixes
0.9520 Mon Nov 29 22:01:58 EET 2021
- added pcre2 support (old pcre support stil exists)
- closed rt.cpan.org #140119 - pcre2 support
0.9521 Thu Dec 2 09:09:51 EET 2021
- closed rt.cpan.org #109255 - urlencode shouldn't encode '\'.
-------------------------------------------------------------------
Tue Apr 14 17:32:53 UTC 2015 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-Template-Pro
#
# Copyright (c) 2015 SUSE LINUX 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,20 +12,19 @@
# 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-HTML-Template-Pro
Version: 0.9510
Release: 0
%define cpan_name HTML-Template-Pro
Name: perl-HTML-Template-Pro
Version: 0.9521
Release: 0
Summary: Perl/XS module to use HTML Templates from CGI scripts
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/HTML-Template-Pro/
Source: http://www.cpan.org/authors/id/V/VI/VIY/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/V/VI/VIY/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::Path) >= 2
@@ -68,20 +67,19 @@ HTML::Template::Pro don't consumes memory for caches and use mmap() for
reading templates on disk.
Introduction to HTML::Template and syntax of template files is described in
the HTML::Template::SYNTAX manpage. Perl interface of HTML::Template and
HTML::Template::Pro is described in the HTML::Template::PerlInterface
manpage.
HTML::Template::SYNTAX. Perl interface of HTML::Template and
HTML::Template::Pro is described in HTML::Template::PerlInterface.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -89,7 +87,7 @@ find . -type f -print0 | xargs -0 chmod 644
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc ARTISTIC benchmark.pl.t builtin_findfile.inc calc.inc callback_stubs.inc Changes cmp_expr.t exprpstr.inc exprtool.inc expr.y FAQ LGPL loadfile.inc loopvar.inc pparam2proparam proscope.inc prostate.inc pstrutils.inc README README.ru README.win32 tags.inc tagstack.inc test_crlf.out TODO
%doc benchmark.pl.t builtin_findfile.inc calc.inc callback_stubs.inc Changes cmp_expr.t exprpstr.inc exprtool.inc expr.y FAQ LGPL loadfile.inc loopvar.inc pparam2proparam proscope.inc prostate.inc pstrutils.inc README README.ru README.win32 tags.inc tagstack.inc test_crlf.out TODO
%license ARTISTIC
%changelog