use our own desktop file

This commit is contained in:
Nils Philippsen 2009-01-18 19:28:07 +00:00
parent 4aacfc4803
commit 4fb3a1de25

View File

@ -62,7 +62,8 @@ make DESTDIR=%{buildroot} install
install src/xsane-gimp %{buildroot}%{_bindir}
mkdir %{buildroot}%{_datadir}/applications
# use our own desktop file
rm %{buildroot}%{_datadir}/applications/xsane.desktop
desktop-file-install --vendor %{desktop_vendor} \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE1}