python me harder

This commit is contained in:
Adam Jackson 2009-07-13 18:45:05 +00:00
parent 0a0f5bf615
commit 4f22f36ace

View File

@ -78,6 +78,13 @@ Python bindings for %{name}.
%patch1 -p1 -b .git %patch1 -p1 -b .git
%patch2 -p1 -b .no-nagle %patch2 -p1 -b .no-nagle
%if !0%{?bootstrap}
pushd ../xpyb-%{xpyb_version}
# XXX fix me upstream please
sed -i 's@$(pythondir)@$(pyexecdir)@' src/Makefile.am
popd
%endif
%build %build
autoreconf -v --install autoreconf -v --install
%configure --disable-static --docdir=%{_datadir}/doc/%{name}-%{version} \ %configure --disable-static --docdir=%{_datadir}/doc/%{name}-%{version} \
@ -86,6 +93,7 @@ make %{?_smp_mflags}
%if !0%{?bootstrap} %if !0%{?bootstrap}
pushd ../xpyb-%{xpyb_version} pushd ../xpyb-%{xpyb_version}
autoreconf -v --install
%configure %configure
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd