Define python_sitelib and python_sitearch if undefined.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tevent?expand=0&rev=5
This commit is contained in:
Lars Müller 2012-05-31 21:34:50 +00:00 committed by Git OBS Bridge
parent 764d29290b
commit b51356fbdd
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 31 21:33:31 UTC 2012 - lmuelle@suse.com
- Define python_sitelib and python_sitearch if undefined.
-------------------------------------------------------------------
Thu May 31 12:01:45 UTC 2012 - lmuelle@suse.com

View File

@ -17,6 +17,9 @@
# norootforbuild
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: libtevent0
BuildRequires: doxygen
BuildRequires: libtalloc-devel >= 2.0.7