From 45c3918b8d73eec6710de6116fe56b88bb4ac9edd7594e84934b0120cb015503 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Sat, 13 Nov 2010 21:43:11 +0000 Subject: [PATCH] portability fixes: update-desktop-files OBS-URL: https://build.opensuse.org/package/show/utilities/calcurse?expand=0&rev=4 --- calcurse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/calcurse.spec b/calcurse.spec index b9c4b20..db626a8 100644 --- a/calcurse.spec +++ b/calcurse.spec @@ -12,7 +12,10 @@ Group: Productivity/Office/Organizers License: BSD License BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: ncurses-devel gcc make glibc-devel gettext gettext-devel -BuildRequires: autoconf automake libtool update-desktop-files +BuildRequires: autoconf automake libtool +%if 0%{?suse_update_desktop_file:1} +BuildRequires: update-desktop-files +%endif %description Calcurse is a text-based personal organizer which helps keep track of events