- delete the buildroot before install

epel9
Štěpán Kasal 15 years ago
parent e9cf5f649f
commit 33a2c9431a

@ -1,6 +1,6 @@
Name: perl-Template-Toolkit Name: perl-Template-Toolkit
Version: 2.22 Version: 2.22
Release: 4%{?dist} Release: 5%{?dist}
Summary: Template processing system Summary: Template processing system
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
@ -45,6 +45,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor \
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
%install %install
rm -rf $RPM_BUILD_ROOT
# install (+ INSTALLARCHLIB) instead of pure_install to get docs # install (+ INSTALLARCHLIB) instead of pure_install to get docs
# and the template library installed too # and the template library installed too
make install \ make install \
@ -76,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %changelog
* Tue Feb 9 2010 Stepan Kasal <skasal@redhat.com> - 2.22-5
- delete the buildroot before install
* Fri Jan 15 2010 Stepan Kasal <skasal@redhat.com> - 2.22-4 * Fri Jan 15 2010 Stepan Kasal <skasal@redhat.com> - 2.22-4
- use filtering macros - use filtering macros

Loading…
Cancel
Save