Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
4df2896529
commit
dc0486c053
21
yelp.spec
21
yelp.spec
@ -3,7 +3,7 @@
|
|||||||
Name: yelp
|
Name: yelp
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: 3.26.0
|
Version: 3.26.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Help browser for the GNOME desktop
|
Summary: Help browser for the GNOME desktop
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -118,22 +118,6 @@ find $RPM_BUILD_ROOT%{_libdir} -name '*.la' -delete
|
|||||||
%check
|
%check
|
||||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop
|
||||||
|
|
||||||
%post
|
|
||||||
update-desktop-database &> /dev/null ||:
|
|
||||||
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
||||||
|
|
||||||
%postun
|
|
||||||
update-desktop-database &> /dev/null ||:
|
|
||||||
if [ $1 -eq 0 ]; then
|
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||:
|
|
||||||
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%posttrans
|
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||:
|
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
@ -161,6 +145,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2:3.26.0-2
|
||||||
|
- Remove obsolete scriptlets
|
||||||
|
|
||||||
* Mon Sep 11 2017 David King <amigadave@amigadave.com> - 2:3.26.0-1
|
* Mon Sep 11 2017 David King <amigadave@amigadave.com> - 2:3.26.0-1
|
||||||
- Update to 3.26.0
|
- Update to 3.26.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user