Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-05 23:50:57 +01:00
parent ca283acc95
commit 8daa30ba73

View File

@ -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 <ignatenkobrain@fedoraproject.org> - 1:3.26.1-2
- Remove obsolete scriptlets
* Mon Dec 11 2017 Kalev Lember <klember@redhat.com> - 1:3.26.1-1
- Update to 3.26.1