From b41bccb84bafcbfc92be4144b1507ba6c4b3382c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Wed, 24 Feb 2016 12:10:06 +0100 Subject: [PATCH] Some more updates from building with internal libraries (or with dc code enabled) Guenther --- samba.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/samba.spec b/samba.spec index 09ab720..476b3e4 100644 --- a/samba.spec +++ b/samba.spec @@ -182,7 +182,7 @@ BuildRequires: glusterfs-devel >= 3.4.0.16 BuildRequires: libcephfs1-devel %endif %if %{with_dc} -BuildRequires: gnutls-devel +BuildRequires: gnutls-devel >= 3.4.7 %endif # pidl requirements @@ -315,9 +315,13 @@ SMB/CIFS clients. %package dc Summary: Samba AD Domain Controller Group: Applications/System +Requires: %{name} = %{samba_depver} Requires: %{name}-libs = %{samba_depver} Requires: %{name}-dc-libs = %{samba_depver} Requires: %{name}-python = %{samba_depver} +Requires: %{name}-winbind = %{samba_depver} +# samba-tool requirements +Requires: python-crypto Provides: samba4-dc = %{samba_depver} Obsoletes: samba4-dc < %{samba_depver} @@ -793,8 +797,6 @@ then fi -# Move smbspool_krb5_wrapper -install -d -m 0755 %{buildroot}%{_libexecdir}/samba touch %{buildroot}%{_libexecdir}/samba/cups_backend_smb # Install other stuff @@ -1193,7 +1195,7 @@ rm -rf %{buildroot} %{_bindir}/ldbmodify %{_bindir}/ldbrename %{_bindir}/ldbsearch -%{_libdir}/samba/libldb-cmdline.so +%{_libdir}/samba/libldb-cmdline-samba4.so %dir %{_libdir}/samba/ldb %{_libdir}/samba/ldb/asq.so %{_libdir}/samba/ldb/paged_results.so @@ -1336,6 +1338,8 @@ rm -rf %{buildroot} %if %{with_internal_ldb} %{_libdir}/samba/libldb.so.1 %{_libdir}/samba/libldb.so.%{ldb_version} +%{_libdir}/samba/libpyldb-util.so.1 +%{_libdir}/samba/libpyldb-util.so.%{ldb_version} %{_mandir}/man3/ldb.3.gz %endif @@ -1621,10 +1625,6 @@ rm -rf %{buildroot} %{_libdir}/pkgconfig/dcerpc_server.pc %endif -%if %with_internal_talloc -%{_includedir}/samba-4.0/pytalloc.h -%endif - %if ! %with_libsmbclient %{_includedir}/samba-4.0/libsmbclient.h %endif # ! with_libsmbclient