Run ldconfig for the new -libs subpackage
This commit is contained in:
parent
ed509445c5
commit
60abb5d1f9
21
devhelp.spec
21
devhelp.spec
@ -2,7 +2,7 @@
|
||||
|
||||
Name: devhelp
|
||||
Version: 3.20.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Epoch: 1
|
||||
License: GPLv2+
|
||||
Summary: API documention browser
|
||||
@ -74,24 +74,26 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/org.gno
|
||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Devhelp.desktop
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ]; then
|
||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
fi
|
||||
|
||||
%postun libs
|
||||
if [ $1 -eq 0 ]; then
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
|
||||
%post libs
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun libs
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ]; then
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans libs
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
||||
|
||||
@ -129,6 +131,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
||||
%{_libdir}/pkgconfig/*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 17 2016 Kalev Lember <klember@redhat.com> - 1:3.20.0-3
|
||||
- Run ldconfig for the new -libs subpackage
|
||||
|
||||
* Sat Apr 02 2016 Mathieu Bridon <bochecha@daitauha.fr> - 1:3.20.0-2
|
||||
- Split the libs into their own subpackages, so that installing a dependent
|
||||
application (e.g Builder) does not bring in the Devhelp app.
|
||||
|
Loading…
Reference in New Issue
Block a user