Use macro/constant for minimal required version of talloc
This commit is contained in:
parent
4223b995c3
commit
441abecf8f
@ -6,6 +6,8 @@
|
||||
%global with_python3 0
|
||||
%endif
|
||||
|
||||
%global talloc_version 2.1.15
|
||||
|
||||
Name: libtevent
|
||||
Version: 0.9.38
|
||||
Release: 1%{?dist}
|
||||
@ -15,9 +17,9 @@ URL: http://tevent.samba.org/
|
||||
Source: http://samba.org/ftp/tevent/tevent-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libtalloc-devel >= 2.1.0
|
||||
BuildRequires: libtalloc-devel >= %{talloc_version}
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-talloc-devel >= 2.1.0
|
||||
BuildRequires: python2-talloc-devel >= %{talloc_version}
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: libxslt
|
||||
@ -26,7 +28,7 @@ Provides: bundled(libreplace)
|
||||
|
||||
%if 0%{?with_python3}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-talloc-devel >= 2.0.7
|
||||
BuildRequires: python3-talloc-devel >= %{talloc_version}
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -39,7 +41,7 @@ tevent_req (Tevent Request) functions.
|
||||
%package devel
|
||||
Summary: Developer tools for the Tevent library
|
||||
Requires: libtevent%{?_isa} = %{version}-%{release}
|
||||
Requires: libtalloc-devel%{?_isa} >= 2.0.7
|
||||
Requires: libtalloc-devel%{?_isa} >= %{talloc_version}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
|
||||
Loading…
Reference in New Issue
Block a user