Make the spec file work with older desktop-file-utils

This commit is contained in:
Matthias Clasen 2007-04-04 02:09:34 +00:00
parent cdc658138b
commit 0b2b93f993

View File

@ -5,7 +5,7 @@
Name: evince
Version: 0.8.0
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Document viewer
License: GPL
@ -60,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install --delete-original \
desktop-file-install --delete-original --vendor="" \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
--remove-category="Application" \
$RPM_BUILD_ROOT%{_datadir}/applications/evince.desktop
@ -143,6 +143,9 @@ fi
%changelog
* Tue Apr 3 2007 Matthias Clasen <mclasen@redhat.com> - 0.8.0-5
- Add an explicit --vendor="", to pacify older desktop-file-utils
* Sun Apr 1 2007 Matthias Clasen <mclasen@redhat.com> - 0.8.0-4
- Add an explicit BR for gnome-icon-theme (#234780)