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
|
||||
|
||||
%if %{undefined python_sitearch}
|
||||
## 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
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Name: libtdb1
|
||||
BuildRequires: autoconf
|
||||
|
Loading…
Reference in New Issue
Block a user