From dd9004e0f3f178d177a1188925fd4b11a1fd8d4e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 07 2018 18:36:54 +0000 Subject: Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/blueberry.spec b/blueberry.spec index ff56b47..07ae0e4 100644 --- a/blueberry.spec +++ b/blueberry.spec @@ -1,6 +1,6 @@ Name: blueberry Version: 1.1.20 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bluetooth configuration tool License: GPLv3+ @@ -80,6 +80,7 @@ done %find_lang %{name} +%if 0%{?rhel} && 0%{?rhel} <= 7 %post /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : @@ -89,22 +90,17 @@ if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null %{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor \ &>/dev/null || : -fi -%if (0%{?fedora} && 0%{?fedora} <= 23) || (0%{?rhel} && 0%{?rhel} <= 7) -if [ $1 -eq 0 ] ; then %{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas \ &> /dev/null || : fi -%endif # (0#{?fedora} && 0#{?fedora} <= 23) || (0#{?rhel} && 0#{?rhel} <= 7) %posttrans %{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor \ &>/dev/null || : -%if (0%{?fedora} && 0%{?fedora} <= 23) || (0%{?rhel} && 0%{?rhel} <= 7) %{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas \ &> /dev/null || : -%endif # (0#{?fedora} && 0#{?fedora} <= 23) || (0#{?rhel} && 0#{?rhel} <= 7) +%endif %files -f %{name}.lang @@ -125,6 +121,9 @@ fi %changelog +* Sun Jan 07 2018 Igor Gnatenko - 1.1.20-2 +- Remove obsolete scriptlets + * Mon Dec 18 2017 Leigh Scott - 1.1.20-1 - New upstream release