diff --git a/emacs.spec b/emacs.spec index 06ba084..b056b80 100644 --- a/emacs.spec +++ b/emacs.spec @@ -686,9 +686,9 @@ for df in %{buildroot}%{_datadir}/emacs/%{version}/etc/emacs*.desktop do test -e "$df" || break base=${df##*/} - mv ${base} ${base}.orig - cp $df ${base} - echo 'X-KDE-StartupNotify=false' >> ${base} + mv etc/${base} etc/${base}.orig + cp $df etc/${base} + echo 'X-KDE-StartupNotify=false' >> etc/${base} rm -vf $df %suse_update_desktop_file -r -i ${base%%.desktop} TextEditor Utility done