|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Template-Toolkit
|
|
|
|
|
Version: 2.19
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 2.20
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Template processing system
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
@ -46,9 +46,13 @@ EOF
|
|
|
|
|
%define __perl_provides %{_builddir}/Template-Toolkit-%{version}/%{name}-prov
|
|
|
|
|
chmod +x %{__perl_provides}
|
|
|
|
|
|
|
|
|
|
# enable examples, docstyle
|
|
|
|
|
sed -i 's|#html_docstyle();|html_docstyle();|g' Makefile.PL
|
|
|
|
|
sed -i 's|#html_examples();|html_examples();|g' Makefile.PL
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor \
|
|
|
|
|
TT_PREFIX=$RPM_BUILD_ROOT%{_datadir}/tt2 TT_DBI=n TT_ACCEPT=y
|
|
|
|
|
TT_PREFIX=$RPM_BUILD_ROOT%{_datadir}/tt2 TT_DBI=n TT_ACCEPT=y TT_BUILD_DOCS=y
|
|
|
|
|
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -94,6 +98,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{_datadir}/tt2/examples
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.20-1
|
|
|
|
|
- update to 2.20
|
|
|
|
|
|
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.19-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|