Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-06 00:34:47 +01:00
parent 25cac9ade2
commit 1052fecf35

View File

@ -1,7 +1,7 @@
Name: gnome-bluetooth Name: gnome-bluetooth
Epoch: 1 Epoch: 1
Version: 3.26.1 Version: 3.26.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: Bluetooth graphical utilities Summary: Bluetooth graphical utilities
License: GPLv2+ License: GPLv2+
@ -76,29 +76,9 @@ install -m0644 -D %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/udev/rules.d/61-gnome-bluet
%find_lang gnome-bluetooth2 %find_lang gnome-bluetooth2
%post %post libs -p /sbin/ldconfig
update-desktop-database &>/dev/null || :
%posttrans %postun libs -p /sbin/ldconfig
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%postun
update-desktop-database &>/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%post libs
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%posttrans libs
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%postun libs
/sbin/ldconfig
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%files %files
%license COPYING %license COPYING
@ -126,6 +106,9 @@ fi
%{_datadir}/gtk-doc %{_datadir}/gtk-doc
%changelog %changelog
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:3.26.1-2
- Remove obsolete scriptlets
* Fri Sep 15 2017 Kalev Lember <klember@redhat.com> - 1:3.26.1-1 * Fri Sep 15 2017 Kalev Lember <klember@redhat.com> - 1:3.26.1-1
- Update to 3.26.1 - Update to 3.26.1