diff --git a/libxcb.spec b/libxcb.spec index 9961529..08416cd 100644 --- a/libxcb.spec +++ b/libxcb.spec @@ -78,6 +78,13 @@ Python bindings for %{name}. %patch1 -p1 -b .git %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 autoreconf -v --install %configure --disable-static --docdir=%{_datadir}/doc/%{name}-%{version} \ @@ -86,6 +93,7 @@ make %{?_smp_mflags} %if !0%{?bootstrap} pushd ../xpyb-%{xpyb_version} +autoreconf -v --install %configure make %{?_smp_mflags} popd