Accepting request 306173 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/306173
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Template-Toolkit?expand=0&rev=32
This commit is contained in:
Stephan Kulow 2015-05-10 08:48:43 +00:00 committed by Git OBS Bridge
parent 99b6db27c8
commit 9decf3217e
5 changed files with 72 additions and 45 deletions

View File

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

View File

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

23
cpanspec.yml Normal file
View File

@ -0,0 +1,23 @@
---
#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
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Sun May 10 08:25:32 UTC 2015 - coolo@suse.com
- updated to 2.26
see /usr/share/doc/packages/perl-Template-Toolkit/Changes
# Version 2.26 - 17th September 2014
#------------------------------------------------------------------------
* Andy Wardley added outline directives. See Template::Manual::Syntax and
Template::Manual::Config for details of the OUTLINE_TAG option and new
'outline' TAG_STYLE. See t/outline.t for examples.
* Andy Wardley improved the handling of keywords when the ANYCASE option
is in use. See t/anycase.t for examples.
* Chromatic fixed UTF-8 encoding in URLs in URL plugin.
https://github.com/abw/Template2/pull/31
* Brian Fraser added support for platforms without LC_ALL/setlocale.
https://github.com/abw/Template2/pull/34
* Amiri Barksdale fixed RT46691 to plug filter memory leaks
https://github.com/abw/Template2/pull/36
* John Lightsey fixed RT59208 to improve SET
https://github.com/abw/Template2/pull/38
UPDATE: This had to be reverted as it cause a subtle breakage elsewhere
#-----------------------------------------------------------------------
-------------------------------------------------------------------
Tue Jul 30 05:06:51 UTC 2013 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Template-Toolkit
#
# Copyright (c) 2013 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
@ -17,64 +17,37 @@
Name: perl-Template-Toolkit
Version: 2.25
Version: 2.26
Release: 0
%define cpan_name Template-Toolkit
Summary: Template Processing System
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://cpan.org/dist/Template-Toolkit
Source: http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Template-Toolkit-%{version}.tar.gz
#BuildRequires: perl-AppConfig perl-DBI perl-Date-Calc perl-XML-DOM perl-XML-Parser
Url: http://search.cpan.org/dist/Template-Toolkit/
Source0: http://www.cpan.org/authors/id/A/AB/ABW/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
#
BuildRequires: perl-macros
BuildRequires: perl(AppConfig) >= 1.56
BuildRequires: perl(DBI)
BuildRequires: perl(Date::Calc)
BuildRequires: perl(File::Spec) >= 0.8
BuildRequires: perl(File::Temp) >= 0.12
BuildRequires: perl(Image::Size)
BuildRequires: perl(Pod::POM)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
BuildRequires: perl(Text::Autoformat)
BuildRequires: perl(XML::DOM)
#
BuildRequires: perl(Test::LeakTrace)
Requires: perl(AppConfig) >= 1.56
# not defined but needed
Requires: perl(Data::Dumper)
Requires: perl(File::Spec) >= 0.8
Requires: perl(Pod::POM)
Requires: perl(Scalar::Util)
# should normally provide perl(Template::Toolkit) but it doesn't
Provides: perl(Template::Toolkit) = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: perl(Test::LeakTrace)
%{perl_requires}
%description
The Template Toolkit is a collection of modules which implement a
fast, flexible, powerful, and extensible template processing system.
It was originally designed and remains primarily useful for generating
dynamic web content, but it can be used equally well for processing
any other kind of text based documents: HTML, XML, POD, PostScript,
LaTeX, and so on.
It can be used as a stand-alone Perl module or embedded within an
Apache/mod_perl server for generating highly configurable dynamic web
content. A number of Perl scripts are also provided which can greatly
simplify the process of creating and managing static web content and
other offline document systems.
Template Processing System
%prep
%setup -q -n "Template-Toolkit-%{version}"
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
make test
%{__make} test
%install
%perl_make_install
@ -82,8 +55,7 @@ make test
%perl_gen_filelist
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(-,root,root)
%defattr(-,root,root,755)
%doc Changes HACKING README TODO
%changelog