|
Lines 18-23
Link Here
|
| 18 |
%define __python_version 2.4 |
18 |
%define __python_version 2.4 |
| 19 |
|
19 |
|
| 20 |
BuildPreReq: python-devel = %__python_version |
20 |
BuildPreReq: python-devel = %__python_version |
|
|
21 |
BuildPreReq: sed |
| 21 |
BuildRequires: XFree86-devel findlib gcc-c++ guile-devel jdkgcj libruby-devel ocaml perl-devel php-devel ruby tcl-devel |
22 |
BuildRequires: XFree86-devel findlib gcc-c++ guile-devel jdkgcj libruby-devel ocaml perl-devel php-devel ruby tcl-devel |
| 22 |
#BuildRequires: glibc-devel-static libstdc++-devel ruby-stdlibs |
23 |
#BuildRequires: glibc-devel-static libstdc++-devel ruby-stdlibs |
| 23 |
|
24 |
|
|
Lines 114-123
Link Here
|
| 114 |
|
115 |
|
| 115 |
%build |
116 |
%build |
| 116 |
./autogen.sh |
117 |
./autogen.sh |
|
|
118 |
|
| 119 |
%__subst 's/PYLIBDIR="lib"/PYLIBDIR="%_lib"/' configure |
| 120 |
|
| 117 |
%configure \ |
121 |
%configure \ |
| 118 |
--with-pyinc=%_includedir/python%__python_version \ |
122 |
--with-pyinc=%_includedir/python%__python_version \ |
| 119 |
--with-pylib=%_libdir/python%__python_version \ |
123 |
--with-pylib=%_libdir/python%__python_version \ |
| 120 |
--with-tclconfig=/usr/lib |
124 |
--with-tclconfig=%_libdir |
| 121 |
# --with-tcl --with-python --with-perl5 --with-java --with-guile --with-ruby --with-php4 |
125 |
# --with-tcl --with-python --with-perl5 --with-java --with-guile --with-ruby --with-php4 |
| 122 |
|
126 |
|
| 123 |
%__subst -p 's,/usr/local/include/Py,%_includedir/python%__python_version,g' Runtime/Makefile |
127 |
%__subst -p 's,/usr/local/include/Py,%_includedir/python%__python_version,g' Runtime/Makefile |