Fix '--without dc' build: delete libauth4-samba4.so

This commit is contained in:
Pavel Filipenský 2022-12-20 11:01:45 +01:00
parent 0f08e77cfc
commit 5471a3e692

View File

@ -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")
%global samba_version 4.17.4
%global baserelease 1
%global baserelease 2
# This should be rc1 or %%nil
%global pre_release %nil
@ -1403,6 +1403,7 @@ touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
%if %{without dc} && %{without testsuite}
for i in \
%{_libdir}/samba/libauth4-samba4.so \
%{_libdir}/samba/libdfs-server-ad-samba4.so \
%{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so \
%{_libdir}/samba/libscavenge-dns-records-samba4.so \
@ -4338,6 +4339,9 @@ fi
%endif
%changelog
* Tue Dec 20 2022 Pavel Filipenský <pfilipen@redhat.com> - 4.17.4-2
- Fix '--without dc' build: delete libauth4-samba4.so
* Mon Dec 19 2022 Pavel Filipenský <pfilipen@redhat.com> - 4.17.4-1
- Create a samba-dcerpc sub-package
- Fix package installation without samba and samba-dc package