1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-29 04:23:08 +03:00

fixing portability bug #113002 on HP-UX cleanup of --with-python like for

* xsltproc/xsltproc.c: fixing portability bug #113002 on HP-UX
* configure.in libxslt.spec.in python/Makefile.am: cleanup
  of --with-python like for libxml2
Daniel
This commit is contained in:
Daniel Veillard
2003-05-15 20:28:53 +00:00
parent c589bdcf67
commit ada71b3bb5
6 changed files with 84 additions and 86 deletions

View File

@@ -61,25 +61,6 @@ rm -fr %{buildroot}
%makeinstall
#
# this is a bit ugly but tries to generate the bindings for all versions
# of python installed
#
for i in %{prefix}/include/python*
do
py_version=`echo $i | sed "s+%{prefix}/include/python++"`
if test -x %{prefix}/bin/python$py_version
then
echo generating bindings for Python $py_version
(cd python ; make clean ; \
make PYTHON="%{prefix}/bin/python$py_version" \
PYTHON_VERSION="$py_version"; \
%makeinstall PYTHON="%{prefix}/bin/python$py_version" \
PYTHON_VERSION="$py_version" \
prefix=$RPM_BUILD_ROOT%{prefix})
fi
done
%clean
rm -fr %{buildroot}