Fix smbspool alternatives handling during samba-client uninstall

Guenther
This commit is contained in:
Günther Deschner 2016-09-14 13:08:48 +02:00
parent 119990afb5
commit ef938d96c0

View File

@ -6,7 +6,7 @@
# ctdb is enabled by default, you can disable it with: --without clustering # ctdb is enabled by default, you can disable it with: --without clustering
%bcond_without clustering %bcond_without clustering
%define main_release 1 %define main_release 2
%define samba_version 4.5.0 %define samba_version 4.5.0
%define talloc_version 2.1.8 %define talloc_version 2.1.8
@ -915,7 +915,7 @@ fi
%postun client %postun client
if [ $1 -eq 0 ] ; then if [ $1 -eq 0 ] ; then
%{_sbindir}/update-alternatives --remove cups_backend_smb %{_libexecdir}/samba/smbspool %{_sbindir}/update-alternatives --remove cups_backend_smb %{_bindir}/smbspool
fi fi
%post client-libs -p /sbin/ldconfig %post client-libs -p /sbin/ldconfig
@ -1996,6 +1996,9 @@ rm -rf %{buildroot}
%endif # with_clustering_support %endif # with_clustering_support
%changelog %changelog
* Wed Sep 14 2016 Guenther Deschner <gdeschner@redhat.com> - 4.5.0-2
- Fix smbspool alternatives handling during samba-client uninstall
* Wed Sep 07 2016 Guenther Deschner <gdeschner@redhat.com> - 4.5.0-1 * Wed Sep 07 2016 Guenther Deschner <gdeschner@redhat.com> - 4.5.0-1
- Update to Samba 4.5.0 - Update to Samba 4.5.0