diff --git a/xsane.spec b/xsane.spec index 5f6b555..1fb6269 100644 --- a/xsane.spec +++ b/xsane.spec @@ -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}