diff --git a/calcurse.spec b/calcurse.spec index db626a8..ce3f5d4 100644 --- a/calcurse.spec +++ b/calcurse.spec @@ -13,7 +13,7 @@ License: BSD License BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: ncurses-devel gcc make glibc-devel gettext gettext-devel BuildRequires: autoconf automake libtool -%if 0%{?suse_update_desktop_file:1} +%if 0%{?suse_version} > 0 BuildRequires: update-desktop-files %endif @@ -41,7 +41,7 @@ Authors: %install %makeinstall %__install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" -%if 0%{?suse_update_desktop_file:1} +%if 0%{?suse_version} > 0 %suse_update_desktop_file -r "%{name}" Office Calendar %endif