Create package dc-libs also for 'non-dc build'
related: rhbz#2131993
This commit is contained in:
parent
19a64d344b
commit
39a95f7330
16
samba.spec
16
samba.spec
@ -135,7 +135,7 @@
|
|||||||
%define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
%define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
||||||
|
|
||||||
%global samba_version 4.17.4
|
%global samba_version 4.17.4
|
||||||
%global baserelease 101
|
%global baserelease 102
|
||||||
# This should be rc1 or %%nil
|
# This should be rc1 or %%nil
|
||||||
%global pre_release %nil
|
%global pre_release %nil
|
||||||
|
|
||||||
@ -597,6 +597,9 @@ BuildArch: noarch
|
|||||||
%description dc-provision
|
%description dc-provision
|
||||||
The samba-dc-provision package provides files to setup a domain controller
|
The samba-dc-provision package provides files to setup a domain controller
|
||||||
|
|
||||||
|
#endif with dc || with testsuite
|
||||||
|
%endif
|
||||||
|
|
||||||
### DC-LIBS
|
### DC-LIBS
|
||||||
%package dc-libs
|
%package dc-libs
|
||||||
Summary: Samba AD Domain Controller Libraries
|
Summary: Samba AD Domain Controller Libraries
|
||||||
@ -613,6 +616,7 @@ Provides: bundled(libreplace)
|
|||||||
The %{name}-dc-libs package contains the libraries needed by the DC to
|
The %{name}-dc-libs package contains the libraries needed by the DC to
|
||||||
link against the SMB, RPC and other protocols.
|
link against the SMB, RPC and other protocols.
|
||||||
|
|
||||||
|
%if %{with dc} || %{with testsuite}
|
||||||
### DC-BIND
|
### DC-BIND
|
||||||
%package dc-bind-dlz
|
%package dc-bind-dlz
|
||||||
Summary: Bind DLZ module for Samba AD
|
Summary: Bind DLZ module for Samba AD
|
||||||
@ -835,9 +839,7 @@ Summary: Samba Python3 libraries
|
|||||||
Requires: %{name}-client-libs = %{samba_depver}
|
Requires: %{name}-client-libs = %{samba_depver}
|
||||||
Requires: %{name}-common-libs = %{samba_depver}
|
Requires: %{name}-common-libs = %{samba_depver}
|
||||||
Requires: %{name}-libs = %{samba_depver}
|
Requires: %{name}-libs = %{samba_depver}
|
||||||
%if %{with dc}
|
|
||||||
Requires: %{name}-dc-libs = %{samba_depver}
|
Requires: %{name}-dc-libs = %{samba_depver}
|
||||||
%endif
|
|
||||||
Requires: python3-talloc
|
Requires: python3-talloc
|
||||||
Requires: python3-tevent
|
Requires: python3-tevent
|
||||||
Requires: python3-tdb
|
Requires: python3-tdb
|
||||||
@ -1399,7 +1401,6 @@ touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
|
|||||||
|
|
||||||
%if %{without dc} && %{without testsuite}
|
%if %{without dc} && %{without testsuite}
|
||||||
for i in \
|
for i in \
|
||||||
%{_libdir}/samba/libauth4-samba4.so \
|
|
||||||
%{_libdir}/samba/libdfs-server-ad-samba4.so \
|
%{_libdir}/samba/libdfs-server-ad-samba4.so \
|
||||||
%{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so \
|
%{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so \
|
||||||
%{_libdir}/samba/libscavenge-dns-records-samba4.so \
|
%{_libdir}/samba/libscavenge-dns-records-samba4.so \
|
||||||
@ -2174,9 +2175,13 @@ fi
|
|||||||
%license source4/setup/ad-schema/licence.txt
|
%license source4/setup/ad-schema/licence.txt
|
||||||
%{_datadir}/samba/setup
|
%{_datadir}/samba/setup
|
||||||
|
|
||||||
|
#endif with dc || with testsuite
|
||||||
|
%endif
|
||||||
### DC-LIBS
|
### DC-LIBS
|
||||||
%files dc-libs
|
%files dc-libs
|
||||||
%{_libdir}/samba/libauth4-samba4.so
|
%{_libdir}/samba/libauth4-samba4.so
|
||||||
|
|
||||||
|
%if %{with dc} || %{with testsuite}
|
||||||
%{_libdir}/samba/libdb-glue-samba4.so
|
%{_libdir}/samba/libdb-glue-samba4.so
|
||||||
%{_libdir}/samba/libpac-samba4.so
|
%{_libdir}/samba/libpac-samba4.so
|
||||||
%{_libdir}/samba/libprocess-model-samba4.so
|
%{_libdir}/samba/libprocess-model-samba4.so
|
||||||
@ -4335,6 +4340,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 22 2022 Pavel Filipenský <pfilipen@redhat.com> - 4.17.4-102
|
||||||
|
- related: rhbz#2131993 - Create package dc-libs also for 'non-dc build'
|
||||||
|
|
||||||
* Wed Dec 21 2022 Pavel Filipenský <pfilipenn@redhat.com> - 4.17.4-101
|
* Wed Dec 21 2022 Pavel Filipenský <pfilipenn@redhat.com> - 4.17.4-101
|
||||||
- related: rhbz#2131993 - Rebuild for MIT Kerberos 1.20.1
|
- related: rhbz#2131993 - Rebuild for MIT Kerberos 1.20.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user