Compare commits

...

No commits in common. "c8-beta-stream-5.24" and "c8-stream-5.3" have entirely different histories.

3 changed files with 90 additions and 36 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/Text-Template-1.47.tar.gz
SOURCES/Text-Template-1.58.tar.gz

View File

@ -1 +1 @@
aac45133d5ea51e5b611a788bb44979d4bcd8e92 SOURCES/Text-Template-1.47.tar.gz
779e15dc9b9ad5280a7eb7dac6f30c77f9793e3b SOURCES/Text-Template-1.58.tar.gz

View File

@ -1,33 +1,43 @@
# Perform optional tests
%bcond_without perl_Text_Template_enables_optional_test
Name: perl-Text-Template
Version: 1.47
Release: 2%{?dist}
Version: 1.58
Release: 1%{?dist}
Summary: Expand template text with embedded Perl
Group: Development/Libraries
# See CPAN RT#102523
# lib/Text/Template.pm: (GPL+ or Artistic) and (GPLv2+ or Artistic)
# other files: (GPLv2+ or Artistic)
License: (GPL+ or Artistic) and (GPLv2+ or Artistic)
URL: http://search.cpan.org/dist/Text-Template/
Source0: http://www.cpan.org/authors/id/M/MJ/MJD/Text-Template-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPL+ or Artistic
URL: https://metacpan.org/release/Text-Template
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSCHOUT/Text-Template-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
# Tests:
BuildRequires: perl(Encode)
BuildRequires: perl(File::Temp)
BuildRequires: perl(lib)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(utf8)
BuildRequires: perl(vars)
%if %{with perl_Text_Template_enables_optional_test}
# Optional tests:
BuildRequires: perl(Safe)
# Not in Fedora
# BuildRequires: perl(Test::More::UTF8)
BuildRequires: perl(Test::Warnings)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Carp)
%description
This is a library for generating form letters, building HTML pages, or
filling in templates generally. A 'template' is a piece of text that
@ -35,42 +45,86 @@ has little Perl programs embedded in it here and there. When you
'fill in' a template, you evaluate the little programs and replace
them with their values.
%prep
%setup -q -n Text-Template-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
unset AUTHOR_TESTING
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Artistic COPYING README
%license LICENSE
%doc README
%{perl_vendorlib}/Text/
%{_mandir}/man3/*.3pm*
%changelog
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.47-2
- Rebuild with enable hardening (bug #1636329)
* Wed Oct 16 2019 Tom Callaway <spot@fedoraproject.org> - 1.58-1
- update to 1.58
* Tue Sep 10 2019 Tom Callaway <spot@fedoraproject.org> - 1.57-1
- update to 1.57
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.56-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Jul 9 2019 Tom Callaway <spot@fedoraproject.org> - 1.56-1
- update to 1.56
* Thu Jun 06 2019 Petr Pisar <ppisar@redhat.com> - 1.55-3
- Enable tests
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.55-2
- Perl 5.30 rebuild
* Tue Feb 26 2019 Tom Callaway <spot@fedoraproject.org> - 1.55-1
- update to 1.55
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.54-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 14 2019 Tom Callaway <spot@fedoraproject.org> - 1.54-1
- update to 1.54
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.53-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.53-2
- Perl 5.28 rebuild
* Sat May 5 2018 Tom Callaway <spot@fedoraproject.org> - 1.53-1
- update to 1.53
* Sun Mar 25 2018 Tom Callaway <spot@fedoraproject.org> - 1.52-1
- update to 1.52
* Mon Mar 5 2018 Tom Callaway <spot@fedoraproject.org> - 1.51-1
- update to 1.51
* Thu Mar 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.50-1
- 1.50 bump
* Wed Feb 14 2018 Tom Callaway <spot@fedoraproject.org> - 1.47-5
- fix license tag
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.47-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.47-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.47-2
- Perl 5.26 rebuild
* Tue Feb 28 2017 Tom Callaway <spot@fedoraproject.org> - 1.47-1
- update to 1.47