Move scriptlet ldconfig calls from main package to -libs.
This commit is contained in:
parent
d004799d84
commit
af7adc6532
11
gpm.spec
11
gpm.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A mouse server for the Linux console
|
Summary: A mouse server for the Linux console
|
||||||
Name: gpm
|
Name: gpm
|
||||||
Version: 1.20.6
|
Version: 1.20.6
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.nico.schottelius.org/software/gpm/
|
URL: http://www.nico.schottelius.org/software/gpm/
|
||||||
@ -120,7 +120,6 @@ fi
|
|||||||
if [ -e %{_infodir}/gpm.info.gz ]; then
|
if [ -e %{_infodir}/gpm.info.gz ]; then
|
||||||
/sbin/install-info %{_infodir}/gpm.info.gz %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/gpm.info.gz %{_infodir}/dir || :
|
||||||
fi
|
fi
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
%triggerun -- gpm < 1.20.6-15
|
%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 --no-reload gpm.service > /dev/null 2>&1 || :
|
||||||
/bin/systemctl stop gpm.service > /dev/null 2>&1 || :
|
/bin/systemctl stop gpm.service > /dev/null 2>&1 || :
|
||||||
%endif
|
%endif
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%triggerun -- gpm < 1.20.6-17
|
%triggerun -- gpm < 1.20.6-17
|
||||||
%{_bindir}/systemd-sysv-convert --save gpm >/dev/null 2>&1 ||:
|
%{_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 || :
|
/sbin/chkconfig --del gpm >/dev/null 2>&1 || :
|
||||||
/bin/systemctl try-restart gpm.service >/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
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc BUGS COPYING README TODO
|
%doc BUGS COPYING README TODO
|
||||||
@ -181,6 +183,9 @@ if [ $1 = 0 ]; then
|
|||||||
%{_libdir}/libgpm.a
|
%{_libdir}/libgpm.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Dec 4 2011 Ville Skyttä <ville.skytta@iki.fi> - 1.20.6-19
|
||||||
|
- Move scriptlet ldconfig calls from main package to -libs.
|
||||||
|
|
||||||
* Fri Aug 05 2011 Nikola Pajkovsky <npajkovs@redhat.com> 1.20.6-18
|
* Fri Aug 05 2011 Nikola Pajkovsky <npajkovs@redhat.com> 1.20.6-18
|
||||||
- unpackaged files (do not install t-mouse.el)
|
- unpackaged files (do not install t-mouse.el)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user