Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
a6a035b786
commit
14d53aa32e
20
glade.spec
20
glade.spec
@ -1,6 +1,6 @@
|
||||
Name: glade
|
||||
Version: 3.20.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: User Interface Designer for GTK+
|
||||
|
||||
# - /usr/bin/glade is GPLv2+
|
||||
@ -89,25 +89,10 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/glade.
|
||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/glade.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
|
||||
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 -p /sbin/ldconfig
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files -f glade.lang
|
||||
%license COPYING*
|
||||
%doc AUTHORS NEWS README
|
||||
@ -141,6 +126,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.20.2-2
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Fri Dec 01 2017 Kalev Lember <klember@redhat.com> - 3.20.2-1
|
||||
- Update to 3.20.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user