Update the desktop-file-install invocation

Remove a category edit command that's no longer needed and add a
bugzilla link explaining why we need to use desktop-file-install over
desktop-file-validate here.
This commit is contained in:
Kalev Lember 2013-03-21 19:01:54 +01:00
parent d47d9d0edf
commit 7386fefe6d

View File

@ -125,9 +125,9 @@ make %{?_smp_mflags} V=1 LIBTOOL=/usr/bin/libtool
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install --delete-original --vendor="" \ # https://bugzilla.gnome.org/show_bug.cgi?id=634245
desktop-file-install --delete-original \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \ --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
--remove-category=Application \
--remove-key=NoDisplay \ --remove-key=NoDisplay \
$RPM_BUILD_ROOT%{_datadir}/applications/evince.desktop $RPM_BUILD_ROOT%{_datadir}/applications/evince.desktop