Create a samba-dc-provision subpackage

This includes only ldif files for provisioning => noarch
This commit is contained in:
Andreas Schneider 2019-12-05 18:27:25 +01:00
parent c97e6064e0
commit ff76ca9f5e

View File

@ -360,6 +360,7 @@ SMB/CIFS clients.
Summary: Samba AD Domain Controller Summary: Samba AD Domain Controller
Requires: %{name} = %{samba_depver} Requires: %{name} = %{samba_depver}
Requires: %{name}-libs = %{samba_depver} Requires: %{name}-libs = %{samba_depver}
Requires: %{name}-dc-provision = %{samba_depver}
Requires: %{name}-dc-libs = %{samba_depver} Requires: %{name}-dc-libs = %{samba_depver}
Requires: %{name}-winbind = %{samba_depver} Requires: %{name}-winbind = %{samba_depver}
# samba-tool needs tdbbackup # samba-tool needs tdbbackup
@ -383,6 +384,14 @@ Obsoletes: samba4-dc < %{samba_depver}
%description dc %description dc
The samba-dc package provides AD Domain Controller functionality The samba-dc package provides AD Domain Controller functionality
### DC-PROVISION
%package dc-provision
Summary: Samba AD files to provision a DC
BuildArch: noarch
%description dc-provision
The samba-dc-provision package provides files to setup a domoin controller
### DC-LIBS ### DC-LIBS
%package dc-libs %package dc-libs
Summary: Samba AD Domain Controller Libraries Summary: Samba AD Domain Controller Libraries
@ -1623,12 +1632,14 @@ fi
%{_libdir}/samba/ldb/wins_ldb.so %{_libdir}/samba/ldb/wins_ldb.so
%{_libdir}/samba/vfs/posix_eadb.so %{_libdir}/samba/vfs/posix_eadb.so
%dir /var/lib/samba/sysvol %dir /var/lib/samba/sysvol
%{_datadir}/samba/setup
%{_mandir}/man8/samba.8* %{_mandir}/man8/samba.8*
%{_mandir}/man8/samba_downgrade_db.8* %{_mandir}/man8/samba_downgrade_db.8*
%{_mandir}/man8/samba-gpupdate.8* %{_mandir}/man8/samba-gpupdate.8*
%{_mandir}/man8/samba-tool.8* %{_mandir}/man8/samba-tool.8*
%files dc-provision
%{_datadir}/samba/setup
### DC-LIBS ### DC-LIBS
%files dc-libs %files dc-libs
%{_libdir}/samba/libdb-glue-samba4.so %{_libdir}/samba/libdb-glue-samba4.so