- 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-HTML-Template-Pro?expand=0&rev=17
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 17:02:30 UTC 2024 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 17 03:06:31 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-HTML-Template-Pro
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# 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
|
||||
@@ -18,12 +18,13 @@
|
||||
|
||||
%define cpan_name HTML-Template-Pro
|
||||
Name: perl-HTML-Template-Pro
|
||||
Version: 0.9524
|
||||
Version: 0.952.400
|
||||
Release: 0
|
||||
Summary: Perl/XS module to use HTML Templates from CGI scripts
|
||||
%define cpan_version 0.9524
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Perl/XS module to use HTML Templates from CGI scripts
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/V/VI/VIY/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/V/VI/VIY/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
@@ -31,6 +32,9 @@ BuildRequires: perl(File::Path) >= 2
|
||||
BuildRequires: perl(JSON) >= 2
|
||||
Requires: perl(File::Path) >= 2
|
||||
Requires: perl(JSON) >= 2
|
||||
Provides: perl(HTML::Template::Pro) = %{version}
|
||||
Provides: perl(HTML::Template::Pro::WrapAssociate)
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -71,8 +75,9 @@ HTML::Template::SYNTAX. Perl interface of HTML::Template and
|
||||
HTML::Template::Pro is described in HTML::Template::PerlInterface.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
|
Reference in New Issue
Block a user