Define and use talloc version macro.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tevent?expand=0&rev=7
This commit is contained in:
Lars Müller 2012-06-02 00:08:16 +00:00 committed by Git OBS Bridge
parent e0c311b199
commit dad2fb6535
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jun 2 00:04:43 UTC 2012 - lmuelle@suse.com
- Define and use talloc version macro.
-------------------------------------------------------------------
Fri Jun 1 15:41:27 UTC 2012 - lmuelle@suse.com

View File

@ -20,17 +20,19 @@
%{!?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)")}
%define talloc_version 2.0.7
Name: libtevent0
BuildRequires: doxygen
#!BuildIgnore: libtalloc
BuildRequires: libtalloc-devel >= 2.0.7
BuildRequires: libtalloc-devel >= %{talloc_version}
%if 0%{?suse_version} > 1020
BuildRequires: pkg-config
%else
BuildRequires: pkgconfig
%endif
BuildRequires: python-devel
BuildRequires: pytalloc-devel >= 2.0.7
BuildRequires: pytalloc-devel >= %{talloc_version}
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
%define build_make_smp_mflags %{?_smp_mflags}
%else
@ -60,7 +62,7 @@ License: LGPL-3.0+
Summary: Libraries and Header Files to Develop Programs with tevent0 Support
Group: Development/Libraries/C and C++
Requires: libtevent0 = %{version}
Requires: libtalloc-devel >= 2.0.7
Requires: libtalloc-devel >= %{talloc_version}
%if 0%{?suse_version} > 1020
Requires: pkg-config
%else