OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 31-May-2003 12:57:14
Branch: HEAD Handle: 2003053111571400
Modified files:
openpkg-src/python python.spec
Log:
use <prefix>/lib/python instead of <prefix>/lib/python<version>,
please.
Summary:
Revision Changes Path
1.31 +11 -4 openpkg-src/python/python.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/python/python.spec
============================================================================
$ cvs diff -u -r1.30 -r1.31 python.spec
--- openpkg-src/python/python.spec 31 May 2003 10:40:34 -0000 1.30
+++ openpkg-src/python/python.spec 31 May 2003 10:57:14 -0000 1.31
@@ -58,8 +58,16 @@
%prep
%setup -q -n Python-%{version}
- %{l_shtool} subst -e 's;-O3;-O2;g' configure
- %{l_shtool} subst -e 's;/usr/local;%{l_prefix};g' setup.py
+ %{l_shtool} subst \
+ -e 's;-O3;-O2;g' \
+ configure
+ %{l_shtool} subst \
+ -e 's;/usr/local;%{l_prefix};g' \
+ setup.py
+ %{l_shtool} subst \
+ -e 's;altinstall bininstall maninstall;altinstall maninstall;' \
+ -e 's;python$(VERSION);python;g' \
+ Makefile.pre.in
%build
CC="%{l_cc}" \
@@ -76,8 +84,7 @@
prefix=$RPM_BUILD_ROOT%{l_prefix} \
exec_prefix=$RPM_BUILD_ROOT%{l_prefix} \
install
- rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/python2.2/test
- rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/python2.2
+ rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/python/test
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]