From af7adc65329ae5bdd57e5b60b7bad89bc32cbc9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 4 Dec 2011 17:35:29 +0200 Subject: [PATCH] Move scriptlet ldconfig calls from main package to -libs. --- gpm.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gpm.spec b/gpm.spec index 73079ae..52fb47d 100644 --- a/gpm.spec +++ b/gpm.spec @@ -1,7 +1,7 @@ Summary: A mouse server for the Linux console Name: gpm Version: 1.20.6 -Release: 18%{?dist} +Release: 19%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://www.nico.schottelius.org/software/gpm/ @@ -120,7 +120,6 @@ fi if [ -e %{_infodir}/gpm.info.gz ]; then /sbin/install-info %{_infodir}/gpm.info.gz %{_infodir}/dir || : fi -/sbin/ldconfig %ifnarch s390 s390x %triggerun -- gpm < 1.20.6-15 @@ -146,7 +145,6 @@ if [ $1 = 0 ]; then /bin/systemctl --no-reload gpm.service > /dev/null 2>&1 || : /bin/systemctl stop gpm.service > /dev/null 2>&1 || : %endif -/sbin/ldconfig %triggerun -- gpm < 1.20.6-17 %{_bindir}/systemd-sysv-convert --save gpm >/dev/null 2>&1 ||: @@ -154,6 +152,10 @@ if [ $1 = 0 ]; then /sbin/chkconfig --del gpm >/dev/null 2>&1 || : /bin/systemctl try-restart gpm.service >/dev/null 2>&1 || : +%post libs -p /sbin/ldconfig + +%postun libs -p /sbin/ldconfig + %files %defattr(-,root,root,-) %doc BUGS COPYING README TODO @@ -181,6 +183,9 @@ if [ $1 = 0 ]; then %{_libdir}/libgpm.a %changelog +* Sun Dec 4 2011 Ville Skyttä - 1.20.6-19 +- Move scriptlet ldconfig calls from main package to -libs. + * Fri Aug 05 2011 Nikola Pajkovsky 1.20.6-18 - unpackaged files (do not install t-mouse.el)