Fix winbind restart on package upgrade

resolves: rhbz#1980356
This commit is contained in:
Andreas Schneider 2021-08-31 15:08:45 +02:00
parent 07b1bb380f
commit b07f2cf26e

View File

@ -108,7 +108,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 baserelease 102 %global baserelease 103
%global samba_version 4.14.5 %global samba_version 4.14.5
%global talloc_version 2.3.2 %global talloc_version 2.3.2
@ -799,10 +799,14 @@ Summary: Samba winbind
Requires(pre): %{name}-common = %{samba_depver} Requires(pre): %{name}-common = %{samba_depver}
Requires: %{name}-common = %{samba_depver} Requires: %{name}-common = %{samba_depver}
Requires: %{name}-common-libs = %{samba_depver} Requires: %{name}-common-libs = %{samba_depver}
Requires(post): %{name}-common-libs = %{samba_depver}
Requires: %{name}-common-tools = %{samba_depver} Requires: %{name}-common-tools = %{samba_depver}
Requires: %{name}-client-libs = %{samba_depver} Requires: %{name}-client-libs = %{samba_depver}
Requires(post): %{name}-client-libs = %{samba_depver}
Requires: %{name}-libs = %{samba_depver} Requires: %{name}-libs = %{samba_depver}
Requires(post): %{name}-libs = %{samba_depver}
Requires: %{name}-winbind-modules = %{samba_depver} Requires: %{name}-winbind-modules = %{samba_depver}
Requires(post): %{name}-winbind-modules = %{samba_depver}
%if %{with libwbclient} %if %{with libwbclient}
Requires(post): libwbclient = %{samba_depver} Requires(post): libwbclient = %{samba_depver}
@ -3908,6 +3912,9 @@ fi
%endif %endif
%changelog %changelog
* Tue Aug 31 2021 Andreas Schneider <asn@redhat.com> - 4.14.5-103
- resolves: rhbz#1980356 - Fix winbind restart on package upgrade
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0:4.14.5-102 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0:4.14.5-102
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688 Related: rhbz#1991688