mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
packaging: When building with system libraries, add dependency for them
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 8225b3e77e140db34b52571a95d553d1e59e3f1e)
This commit is contained in:
parent
d46c24f4d0
commit
3dcdd39801
@ -40,12 +40,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%if ! %with_included_talloc
|
||||
BuildRequires: libtalloc-devel >= %{libtalloc_version}
|
||||
Requires: libtalloc >= %{libtalloc_version}
|
||||
%endif
|
||||
%if ! %with_included_tdb
|
||||
BuildRequires: libtdb-devel >= %{libtdb_version}
|
||||
Requires: libtdb >= %{libtdb_version}
|
||||
%endif
|
||||
%if ! %with_included_tevent
|
||||
BuildRequires: libtevent-devel >= %{libtevent_version}
|
||||
Requires: libtevent >= %{libtevent_version}
|
||||
%endif
|
||||
|
||||
# To build the ctdb-pcp-pmda package, run rpmbuild with "--with pmda"
|
||||
|
Loading…
Reference in New Issue
Block a user