Some more updates from building with internal libraries (or with dc code
enabled) Guenther
This commit is contained in:
parent
d23e254f31
commit
b41bccb84b
16
samba.spec
16
samba.spec
@ -182,7 +182,7 @@ BuildRequires: glusterfs-devel >= 3.4.0.16
|
|||||||
BuildRequires: libcephfs1-devel
|
BuildRequires: libcephfs1-devel
|
||||||
%endif
|
%endif
|
||||||
%if %{with_dc}
|
%if %{with_dc}
|
||||||
BuildRequires: gnutls-devel
|
BuildRequires: gnutls-devel >= 3.4.7
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# pidl requirements
|
# pidl requirements
|
||||||
@ -315,9 +315,13 @@ SMB/CIFS clients.
|
|||||||
%package dc
|
%package dc
|
||||||
Summary: Samba AD Domain Controller
|
Summary: Samba AD Domain Controller
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
Requires: %{name} = %{samba_depver}
|
||||||
Requires: %{name}-libs = %{samba_depver}
|
Requires: %{name}-libs = %{samba_depver}
|
||||||
Requires: %{name}-dc-libs = %{samba_depver}
|
Requires: %{name}-dc-libs = %{samba_depver}
|
||||||
Requires: %{name}-python = %{samba_depver}
|
Requires: %{name}-python = %{samba_depver}
|
||||||
|
Requires: %{name}-winbind = %{samba_depver}
|
||||||
|
# samba-tool requirements
|
||||||
|
Requires: python-crypto
|
||||||
|
|
||||||
Provides: samba4-dc = %{samba_depver}
|
Provides: samba4-dc = %{samba_depver}
|
||||||
Obsoletes: samba4-dc < %{samba_depver}
|
Obsoletes: samba4-dc < %{samba_depver}
|
||||||
@ -793,8 +797,6 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Move smbspool_krb5_wrapper
|
|
||||||
install -d -m 0755 %{buildroot}%{_libexecdir}/samba
|
|
||||||
touch %{buildroot}%{_libexecdir}/samba/cups_backend_smb
|
touch %{buildroot}%{_libexecdir}/samba/cups_backend_smb
|
||||||
|
|
||||||
# Install other stuff
|
# Install other stuff
|
||||||
@ -1193,7 +1195,7 @@ rm -rf %{buildroot}
|
|||||||
%{_bindir}/ldbmodify
|
%{_bindir}/ldbmodify
|
||||||
%{_bindir}/ldbrename
|
%{_bindir}/ldbrename
|
||||||
%{_bindir}/ldbsearch
|
%{_bindir}/ldbsearch
|
||||||
%{_libdir}/samba/libldb-cmdline.so
|
%{_libdir}/samba/libldb-cmdline-samba4.so
|
||||||
%dir %{_libdir}/samba/ldb
|
%dir %{_libdir}/samba/ldb
|
||||||
%{_libdir}/samba/ldb/asq.so
|
%{_libdir}/samba/ldb/asq.so
|
||||||
%{_libdir}/samba/ldb/paged_results.so
|
%{_libdir}/samba/ldb/paged_results.so
|
||||||
@ -1336,6 +1338,8 @@ rm -rf %{buildroot}
|
|||||||
%if %{with_internal_ldb}
|
%if %{with_internal_ldb}
|
||||||
%{_libdir}/samba/libldb.so.1
|
%{_libdir}/samba/libldb.so.1
|
||||||
%{_libdir}/samba/libldb.so.%{ldb_version}
|
%{_libdir}/samba/libldb.so.%{ldb_version}
|
||||||
|
%{_libdir}/samba/libpyldb-util.so.1
|
||||||
|
%{_libdir}/samba/libpyldb-util.so.%{ldb_version}
|
||||||
%{_mandir}/man3/ldb.3.gz
|
%{_mandir}/man3/ldb.3.gz
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -1621,10 +1625,6 @@ rm -rf %{buildroot}
|
|||||||
%{_libdir}/pkgconfig/dcerpc_server.pc
|
%{_libdir}/pkgconfig/dcerpc_server.pc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %with_internal_talloc
|
|
||||||
%{_includedir}/samba-4.0/pytalloc.h
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if ! %with_libsmbclient
|
%if ! %with_libsmbclient
|
||||||
%{_includedir}/samba-4.0/libsmbclient.h
|
%{_includedir}/samba-4.0/libsmbclient.h
|
||||||
%endif # ! with_libsmbclient
|
%endif # ! with_libsmbclient
|
||||||
|
Loading…
Reference in New Issue
Block a user