diff --git a/devhelp.spec b/devhelp.spec index 8684398..3ddadf8 100644 --- a/devhelp.spec +++ b/devhelp.spec @@ -1,7 +1,7 @@ Name: devhelp Epoch: 1 Version: 3.26.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: API documentation browser License: GPLv2+ @@ -72,29 +72,8 @@ rm -rf ${RPM_BUILD_ROOT}%{_libdir}/gedit/plugins/__pycache__ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Devhelp.appdata.xml desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Devhelp.desktop -%post -touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : - -%postun -if [ $1 -eq 0 ]; then - touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : - gtk-update-icon-cache %{_datadir}/icons/hicolor >&/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 || : +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig %files %doc AUTHORS NEWS README misc/devhelp.{el,vim} @@ -133,6 +112,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : %{_datadir}/gir-1.0/Devhelp-3.0.gir %changelog +* Fri Jan 05 2018 Igor Gnatenko - 1:3.26.1-2 +- Remove obsolete scriptlets + * Mon Dec 11 2017 Kalev Lember - 1:3.26.1-1 - Update to 3.26.1