From 1b21c5404fb054279219d2ca6088eb01c32cfd27 Mon Sep 17 00:00:00 2001 From: Timothée Floure Date: Tue, 18 Sep 2018 11:19:34 +0200 Subject: Add gcc as build requirement, remove calls to gtk-update-icon-cache --- gcolor3.spec | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/gcolor3.spec b/gcolor3.spec index d0e15eb..1d1aaba 100644 --- a/gcolor3.spec +++ b/gcolor3.spec @@ -7,6 +7,7 @@ License: GPLv2+ URL: https://www.hjdskes.nl/projects/gcolor3/ Source0: https://gitlab.gnome.org/World/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.gz +BuildRequires: gcc BuildRequires: meson BuildRequires: gnome-common BuildRequires: gtk3-devel >= 3.12.0 @@ -36,18 +37,6 @@ Gcolor2). desktop-file-validate %{buildroot}%{_datadir}/applications/nl.hjdskes.gcolor3.desktop appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/nl.hjdskes.gcolor3.appdata.xml -%post -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - -%postun -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 || : -fi - -%posttrans -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - %files -f gcolor3.lang %doc README.md %license LICENSE -- cgit