Fix rpmlint issue for libsss_simpleifp

Patch removes unnecessary requires of dbus-libs
because it's already detected from library.
However we forgot to call ldconfig after (un)installation.

sh$ rpm -q -p --requires libsss_simpleifp-1.13.90-0.fc23.x86_64.rpm | grep dbus
    libdbus-1.so.3()(64bit)
    libdbus-1.so.3(LIBDBUS_1_3)(64bit)
    sssd-dbus = 1.13.90-0.fc23

sh$ rpm -q --whatprovides "libdbus-1.so.3()(64bit)"
    dbus-libs-1.10.6-1.fc23.x86_64
This commit is contained in:
Lukas Slebodnik 2016-02-02 18:07:45 +01:00
parent fb84da9380
commit 5719fdd6f8

View File

@ -507,7 +507,6 @@ the information from the SSSD to be transmitted over the system bus.
Summary: The SSSD D-Bus responder helper library
Group: Development/Libraries
License: GPLv3+
Requires: dbus-libs
Requires: sssd-dbus = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
@ -1032,6 +1031,10 @@ fi
%postun -n libsss_nss_idmap -p /sbin/ldconfig
%post -n libsss_simpleifp -p /sbin/ldconfig
%postun -n libsss_simpleifp -p /sbin/ldconfig
%posttrans libwbclient
# Alternatives was removed only if package was uninstalled
# However in cease of package upgrade and soname bump the