From: Michael Schroeder Date: Mon, 18 Jul 2011 12:23:11 +0000 (+0200) Subject: reduce build badness X-Git-Tag: BASE-SuSE-Code-12_1-Branch~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8972813bc5e5592d9775d4a09bd52c122385ae16;p=thirdparty%2Flibsolv.git reduce build badness --- diff --git a/package/libsolv.spec.in b/package/libsolv.spec.in index 0dc1897a..12741982 100644 --- a/package/libsolv.spec.in +++ b/package/libsolv.spec.in @@ -86,6 +86,7 @@ Authors: Summary: A new approach to package dependency solving Group: Development/Libraries/C and C++ Requires: libsolv-tools = %version +Requires: libsolv@LIBSOLV_SOVERSION@ = %version Requires: rpm-devel %description devel @@ -180,6 +181,10 @@ export NO_BRP_STRIP_DEBUG=true %clean rm -rf "$RPM_BUILD_ROOT" +%post -n libsolv@LIBSOLV_SOVERSION@ -p /sbin/ldconfig + +%postun -n libsolv@LIBSOLV_SOVERSION@ -p /sbin/ldconfig + %files -n libsolv@LIBSOLV_SOVERSION@ %defattr(-,root,root) %doc LICENSE*