On Tue, 02 Feb 2016, Lukas Slebodnik wrote:
ehlo,
simple patch is attached.
LS
From 5f2ecda50a8bc7337b74a0b2a0e04f939d9b8731 Mon Sep 17 00:00:00
2001
From: Lukas Slebodnik <lslebodn(a)redhat.com>
Date: Tue, 2 Feb 2016 09:58:23 +0100
Subject: [PATCH] SPEC: Fix packaging of libsss_simpleifp
Patch removes unnecessary requires of dbus-libs
because it's alredy detected from library.
s/alredy/already/ and then my ACK.
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
---
contrib/sssd.spec.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index bd21d4d41a21c7ea93d990b26204789c98e6b828..c638078ef94289589b9f4681991df40642a95c11
100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -522,7 +522,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
@@ -1053,6 +1052,10 @@ fi
%postun -n libsss_nss_idmap -p /sbin/ldconfig
+%post -n libsss_simpleifp -p /sbin/ldconfig
+
+%postun -n libsss_simpleifp -p /sbin/ldconfig
+
%changelog
* Mon Mar 15 2010 Stephen Gallagher <sgallagh(a)redhat.com> -
@PACKAGE_VERSION@-0@PRERELEASE_VERSION@
- Automated build of the SSSD
--
2.5.0
_______________________________________________
sssd-devel mailing list
sssd-devel(a)lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/sssd-devel@lists.fedorahosted.org
--
/ Alexander Bokovoy