From 2842492fd7768525d73eb28c92087b957bafcae2 Mon Sep 17 00:00:00 2001 From: Warren Togami Date: Aug 17 2005 04:56:33 +0000 Subject: make python version automatic --- diff --git a/vte.spec b/vte.spec index 91d3184..a1d7b96 100644 --- a/vte.spec +++ b/vte.spec @@ -1,6 +1,6 @@ Name: vte Version: 0.11.14 -Release: 2 +Release: 3.fc5 Summary: An experimental terminal emulator. License: LGPL Group: User Interface/X @@ -26,9 +26,8 @@ package contains the files needed for building applications using VTE. %setup -q %build -if [ -x %{_bindir}/python2.4 ]; then - PYTHON=%{_bindir}/python2.4; export PYTHON -fi +PYTHON=%{_bindir}/python`%{__python} -c "import sys ; print sys.version[:3]"` +export PYTHON %configure --enable-shared --enable-static --libexecdir=%{_libdir}/%{name} --without-glX --disable-gtk-doc make @@ -97,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/gtk-doc/html/%{name} %{_libdir}/pkgconfig/* %changelog +* Tue Aug 16 2005 Warren Togami 0.11.14-3 +- make python version automatic + * Tue Aug 16 2005 Warren Togami 0.11.14-2 - remove huge and rarely needed devel docs - remove .a because nobody should be using this @@ -104,7 +106,7 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/gtk-doc/html/%{name} * Thu Aug 4 2005 Matthias Clasen 0.11.14-1 - New upstream version -* Mon May 23 2005 BillNottingham 0.11.13-2.fc4 +* Mon May 23 2005 Bill Nottingham 0.11.13-2.fc4 - fix removal of static libs from python bindings * Thu Apr 28 2005 Warren Togami 0.11.13-1