Use simplified conditional python_sitearch define.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=6
This commit is contained in:
parent
2a72fca66f
commit
4c7d1a3456
5
tdb.spec
5
tdb.spec
@ -17,10 +17,7 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
%if %{undefined python_sitearch}
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
## CentOS and RHEL pre-6 don't know python_sitearch
|
|
||||||
%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))")
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: libtdb1
|
Name: libtdb1
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
|
Loading…
Reference in New Issue
Block a user