From 641bfc4b4474eb5635d14babb05301e7362d6c19 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Apr 21 2017 07:20:57 +0000 Subject: Fedora 23 is no more --- diff --git a/blender.spec b/blender.spec index 5738021..e5b5804 100644 --- a/blender.spec +++ b/blender.spec @@ -237,29 +237,29 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.a appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{name}-fonts.metainfo.xml %post -%if 0%{?fedora} == 24 || 0%{?fedora} == 23 || 0%{?rhel} == 7 +%if 0%{?fedora} == 24 || 0%{?rhel} == 7 /usr/bin/update-desktop-database &> /dev/null || : %endif /bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : -%if 0%{?fedora} == 23 || 0%{?rhel} == 7 +%if 0%{?rhel} == 7 /bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || : %endif %postun -%if 0%{?fedora} == 24 || 0%{?fedora} == 23 || 0%{?rhel} == 7 +%if 0%{?fedora} == 24 || 0%{?rhel} == 7 /usr/bin/update-desktop-database &> /dev/null || : %endif if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : -%if 0%{?fedora} == 23 || 0%{?rhel} == 7 +%if 0%{?rhel} == 7 /usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %endif fi %posttrans /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -%if 0%{?fedora} == 23 || 0%{?rhel} == 7 +%if 0%{?rhel} == 7 /usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %endif