set vendor for desktop file in f18 and older

This commit is contained in:
Miroslav Lichvar 2013-02-28 12:08:27 +01:00
parent 8fd08ea0b7
commit 72a31e63e7

View File

@ -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*