Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
09230716e8
commit
5a8b64f631
22
baobab.spec
22
baobab.spec
@ -2,7 +2,7 @@
|
||||
|
||||
Name: baobab
|
||||
Version: 3.26.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A graphical directory tree analyzer
|
||||
|
||||
License: GPLv2+ and GFDL
|
||||
@ -48,23 +48,6 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/org.gnome
|
||||
desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.baobab.desktop
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
|
||||
|
||||
%postun
|
||||
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 || :
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc AUTHORS NEWS README
|
||||
%license COPYING COPYING.docs
|
||||
@ -79,6 +62,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.1-2
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Sun Oct 08 2017 Kalev Lember <klember@redhat.com> - 3.26.1-1
|
||||
- Update to 3.26.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user