Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
ca283acc95
commit
8daa30ba73
30
devhelp.spec
30
devhelp.spec
@ -1,7 +1,7 @@
|
|||||||
Name: devhelp
|
Name: devhelp
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.26.1
|
Version: 3.26.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: API documentation browser
|
Summary: API documentation browser
|
||||||
|
|
||||||
License: GPLv2+
|
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
|
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
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Devhelp.desktop
|
||||||
|
|
||||||
%post
|
%post libs -p /sbin/ldconfig
|
||||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%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 || :
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS NEWS README misc/devhelp.{el,vim}
|
%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
|
%{_datadir}/gir-1.0/Devhelp-3.0.gir
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Dec 11 2017 Kalev Lember <klember@redhat.com> - 1:3.26.1-1
|
||||||
- Update to 3.26.1
|
- Update to 3.26.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user