- Define and use talloc, tdb, and tevent version macros.
- Define python_version if undefined. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=6
This commit is contained in:
parent
3a10c28000
commit
c5ce93bd26
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 31 22:22:49 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
- Define and use talloc, tdb, and tevent version macros.
|
||||
- Define python_version if undefined.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 31 13:46:42 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
|
16
ldb.spec
16
ldb.spec
@ -17,7 +17,11 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
#%{!?python_version: %global python_version %(%{__python} -c "import sys; sys.stdout.write(sys.version[:3])")}
|
||||
%{!?python_version: %global python_version %(%{__python} -c "from distutils.sysconfig import get_python_version; print(get_python_version())")}
|
||||
|
||||
%define talloc_version 2.0.7
|
||||
%define tdb_version 1.2.10
|
||||
%define tevent_version 0.9.15
|
||||
|
||||
Name: libldb1
|
||||
%if 0%{?suse_version} > 1020
|
||||
@ -25,12 +29,12 @@ BuildRequires: pkg-config
|
||||
%else
|
||||
BuildRequires: pkgconfig
|
||||
%endif
|
||||
BuildRequires: libtalloc-devel >= 2.0.7
|
||||
BuildRequires: libtdb-devel >= 1.2.10
|
||||
BuildRequires: libtevent-devel >= 0.9.15
|
||||
BuildRequires: python-tdb >= 1.2.10
|
||||
BuildRequires: libtalloc-devel >= %{talloc_version}
|
||||
BuildRequires: libtdb-devel >= %{tdb_version}
|
||||
BuildRequires: libtevent-devel >= %{tevent_version}
|
||||
BuildRequires: python-tdb >= %{tdb_version}
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-tevent >= 0.9.15
|
||||
BuildRequires: python-tevent >= %{tevent_version}
|
||||
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
||||
%define build_make_smp_mflags %{?_smp_mflags}
|
||||
%else
|
||||
|
Loading…
Reference in New Issue
Block a user