Define missing python macros on pre-6 CentOS and RHEL systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=3
This commit is contained in:
parent
40b0f71012
commit
cf346bbfe4
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 30 16:08:28 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
- Define missing python macros on pre-6 CentOS and RHEL systems.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 30 15:36:34 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
|
5
tdb.spec
5
tdb.spec
@ -17,6 +17,11 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%if 0%{?centos_version} && 0%{?centos_version} < 600 || 0%{rhel_version} && 0%{rhel_version} < 600
|
||||
# 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
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
|
Loading…
Reference in New Issue
Block a user