use %make_build/%make_install
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
629ada19f7
commit
5065b9cd1a
@ -66,18 +66,18 @@ autoreconf -vif
|
|||||||
|
|
||||||
mkdir python2-build; pushd python2-build
|
mkdir python2-build; pushd python2-build
|
||||||
%configure PYTHON=python
|
%configure PYTHON=python
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
mkdir python3-build; pushd python3-build
|
mkdir python3-build; pushd python3-build
|
||||||
%configure PYTHON=python3
|
%configure PYTHON=python3
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT -C python3-build
|
%make_install -C python2-build
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT -C python2-build
|
%make_install -C python3-build
|
||||||
|
|
||||||
# unpackaged files
|
# unpackaged files
|
||||||
rm -fv $RPM_BUILD_ROOT%{python2_sitearch}/*.la
|
rm -fv $RPM_BUILD_ROOT%{python2_sitearch}/*.la
|
||||||
|
Loading…
Reference in New Issue
Block a user