summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothée Floure <timothee.floure@fnux.ch>2018-09-18 11:19:34 +0200
committerTimothée Floure <timothee.floure@fnux.ch>2018-09-18 11:19:34 +0200
commit1b21c5404fb054279219d2ca6088eb01c32cfd27 (patch)
tree75ef8f033b2a2fb595bc847d6e1b917d535d6442
parent10b868419ccf99da8d6bf0fee12012c1c7c54824 (diff)
downloadrpm-gcolor3-master.tar.gz
rpm-gcolor3-master.tar.xz
rpm-gcolor3-master.zip
Add gcc as build requirement, remove calls to gtk-update-icon-cacheHEADmaster
-rw-r--r--gcolor3.spec13
1 files changed, 1 insertions, 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