Compare commits

...

10 Commits

Author SHA256 Message Date
52c9ba0e50 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-MicroTemplate?expand=0&rev=13
2024-07-27 21:59:37 +00:00
Stephan Kulow
1a5a18e255 Accepting request 741126 from home:tinita:branches:devel:languages:perl
- Regenerate spec with newest cpanspec
   * Add PERL_USE_UNSAFE_INC

OBS-URL: https://build.opensuse.org/request/show/741126
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-MicroTemplate?expand=0&rev=12
2019-10-19 14:34:56 +00:00
Stephan Kulow
232888d28d Accepting request 314067 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/314067
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-MicroTemplate?expand=0&rev=11
2015-06-27 16:35:38 +00:00
Stephan Kulow
abe20db8c0 Accepting request 304287 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/304287
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-MicroTemplate?expand=0&rev=10
2015-04-28 08:26:15 +00:00
Stephan Kulow
c23bd3ea89 Accepting request 303818 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/303818
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-MicroTemplate?expand=0&rev=9
2015-04-24 16:05:31 +00:00
Stephan Kulow
8fca124112 Accepting request 296306 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/296306
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-MicroTemplate?expand=0&rev=8
2015-04-15 09:44:37 +00:00
de73857cda Accepting request 198668 from devel:openQA
- update to version 0.19, minor bugfix

OBS-URL: https://build.opensuse.org/request/show/198668
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-MicroTemplate?expand=0&rev=7
2013-09-13 05:37:46 +00:00
Stephan Kulow
3e0c4a5c3b use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-MicroTemplate?expand=0&rev=6
2011-11-17 15:53:38 +00:00
Stephan Kulow
a914d48eea OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-MicroTemplate?expand=0&rev=4 2011-11-11 11:23:38 +00:00
Stephan Kulow
9866737440 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-MicroTemplate?expand=0&rev=3
2010-12-03 14:53:57 +00:00
5 changed files with 97 additions and 34 deletions

View File

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

View File

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

21
cpanspec.yml Normal file
View File

@@ -0,0 +1,21 @@
---
#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
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,54 @@
-------------------------------------------------------------------
Fri Oct 18 16:54:39 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
- Regenerate spec with newest cpanspec
* Add PERL_USE_UNSAFE_INC
-------------------------------------------------------------------
Sat Jun 27 09:02:51 UTC 2015 - coolo@suse.com
- updated to 0.24
see /usr/share/doc/packages/perl-Text-MicroTemplate/Changes
0.24
- lazy loading of Carp (by Kirill Babikhin) #15
-------------------------------------------------------------------
Tue Apr 28 06:46:18 UTC 2015 - coolo@suse.com
- updated to 0.23
see /usr/share/doc/packages/perl-Text-MicroTemplate/Changes
0.23
- fix test error on Windows due to the use of unescaped paths in regex patterns (by nanis) #11 #13
0.22
- fix regression in 0.21 (use of here-doc within `<?= ?>` causes syntax error) #12
- add support for `prepend` property for prepending code (by LoonyPandora) #3
-------------------------------------------------------------------
Fri Apr 24 15:56:07 UTC 2015 - coolo@suse.com
- updated to 0.21
see /usr/share/doc/packages/perl-Text-MicroTemplate/Changes
0.21
- fix the strange rule for multi-line expression #10
-------------------------------------------------------------------
Tue Apr 14 18:15:35 UTC 2015 - coolo@suse.com
- updated to 0.20
see /usr/share/doc/packages/perl-Text-MicroTemplate/Changes
0.20
- [bugfix] '?# comment' was not working (by bokutin)
-------------------------------------------------------------------
Thu Apr 25 12:13:41 UTC 2013 - lnussel@suse.de
- update to version 0.19, minor bugfix
-------------------------------------------------------------------
Tue Nov 30 19:20:53 UTC 2010 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Text-MicroTemplate (Version 0.18)
# spec file for package perl-Text-MicroTemplate
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,60 +12,51 @@
# 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/
#
# norootforbuild
Name: perl-Text-MicroTemplate
%define cpan_name Text-MicroTemplate
Name: perl-Text-MicroTemplate
Version: 0.240.0
Release: 0
# 0.24 -> normalize -> 0.240.0
%define cpan_version 0.24
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Micro template engine with Perl5 language
Version: 0.18
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Text-MicroTemplate/
#Source: http://www.cpan.org/authors/id/K/KA/KAZUHO/Text-MicroTemplate-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/K/KA/KAZUHO/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(File::Temp)
BuildRequires: perl >= 5.8.0
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
Provides: perl(Text::MicroTemplate) = %{version}
Provides: perl(Text::MicroTemplate::EncodedString)
Provides: perl(Text::MicroTemplate::File)
%undefine __perllib_provides
%{perl_requires}
Requires: perl >= 5.8.0
%description
Text::MicroTemplate is a standalone, fast, intelligent, extensible template
engine with following features.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes README
%changelog