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:
parent
e0c311b199
commit
dad2fb6535
@ -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
|
Fri Jun 1 15:41:27 UTC 2012 - lmuelle@suse.com
|
||||||
|
|
||||||
|
@ -20,17 +20,19 @@
|
|||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
%{!?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)")}
|
%{!?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
|
Name: libtevent0
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
#!BuildIgnore: libtalloc
|
#!BuildIgnore: libtalloc
|
||||||
BuildRequires: libtalloc-devel >= 2.0.7
|
BuildRequires: libtalloc-devel >= %{talloc_version}
|
||||||
%if 0%{?suse_version} > 1020
|
%if 0%{?suse_version} > 1020
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
%else
|
%else
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: pytalloc-devel >= 2.0.7
|
BuildRequires: pytalloc-devel >= %{talloc_version}
|
||||||
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
||||||
%define build_make_smp_mflags %{?_smp_mflags}
|
%define build_make_smp_mflags %{?_smp_mflags}
|
||||||
%else
|
%else
|
||||||
@ -60,7 +62,7 @@ License: LGPL-3.0+
|
|||||||
Summary: Libraries and Header Files to Develop Programs with tevent0 Support
|
Summary: Libraries and Header Files to Develop Programs with tevent0 Support
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libtevent0 = %{version}
|
Requires: libtevent0 = %{version}
|
||||||
Requires: libtalloc-devel >= 2.0.7
|
Requires: libtalloc-devel >= %{talloc_version}
|
||||||
%if 0%{?suse_version} > 1020
|
%if 0%{?suse_version} > 1020
|
||||||
Requires: pkg-config
|
Requires: pkg-config
|
||||||
%else
|
%else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user