From 72a31e63e720520a9ecc9d666a3d8e33849405bc Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 28 Feb 2013 12:08:27 +0100 Subject: [PATCH] set vendor for desktop file in f18 and older --- xterm.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xterm.spec b/xterm.spec index 71e372d..1554199 100644 --- a/xterm.spec +++ b/xterm.spec @@ -62,6 +62,9 @@ make DESTDIR=$RPM_BUILD_ROOT install cp -fp %{SOURCE1} 16colors.txt desktop-file-install \ +%if 0%{?fedora} && 0%{?fedora} < 19 + --vendor=fedora \ +%endif --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ xterm.desktop @@ -87,7 +90,7 @@ fi %{_mandir}/man1/resize.1* %{_mandir}/man1/uxterm.1* %{_mandir}/man1/xterm.1* -%{_datadir}/applications/xterm.desktop +%{_datadir}/applications/*xterm.desktop %{_datadir}/icons/hicolor/*/apps/xterm* %{_datadir}/pixmaps/*xterm*.xpm %{x11_app_defaults_dir}/KOI8RXTerm*