From 193242079f189fe0204f00180645ad8fc1ae7e9981d027473d91f8f224a4e31e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 18 Apr 2011 15:31:41 +0000 Subject: [PATCH] Fix %suse_update_desktop_file call OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=35 --- vim.spec | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/vim.spec b/vim.spec index 2568485..18ffcde 100644 --- a/vim.spec +++ b/vim.spec @@ -73,9 +73,6 @@ Provides: vi %if 0%{?suse_version} >= 1010 Recommends: vim-data = %{version} %endif -# tbd??? %{name}-6.3-ga-utf8.diff -# tbd??? %{name}-6.3-initvals.diff -# tbd??? vim64-svn-crash.patch Summary: Vi IMproved # Url: http://www.vim.org/ @@ -98,43 +95,24 @@ Source22: vim.conf Source23: apparmor.vim Source98: %{name}-7.3-patches.tar.bz2 Source99: %{name}-7.3-rpmlintrc -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch3: %{name}-7.3-disable_lang_no.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch4: %{name}-7.3-gvimrc_fontset.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch5: %{name}-7.3-highlight_fstab.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch6: %{name}-7.3-sh_is_bash.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch7: %{name}-7.3-filetype_ftl.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch8: %{name}-7.3-help_tags.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch9: %{name}-7.3-use_awk.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch10: %{name}-7.3-name_vimrc.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch11: %{name}-7.3-mktemp_tutor.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch12: %{name}-7.3-ruby_ldflags_configure.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch14: %{name}-7.3-grub.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch15: %{name}-7.3-filetype_apparmor.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch18: %{name}-7.3-filetype_spec.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch19: %{name}-7.3-diff_check.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch21: %{name}-7.3-filetype_changes.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch22: %{name}-7.3-filetype_mine.patch -# TODO: why is this not applied anymore? Patch25: vim-7.2-lzma-support.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch27: %{name}-7.3-disable_gcc_warning_eval_c.patch -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch100: vim-7.1.314-CVE-2009-0316-debian.patch %description @@ -437,8 +415,11 @@ mkdir -m 0755 %{buildroot}%{_sysconfdir}/skel # install spec helper install -m 0644 %{SOURCE20} %{buildroot}%{_datadir}/vim/current/skeletons/skeleton.spec install -m 0644 %{SOURCE21} %{buildroot}%{_sysconfdir}/skel/.vimrc + # desktop file for gvim -%suse_update_desktop_file -i gvim Utility TextEditor +install -D -m 0644 gvim.desktop %{buildroot}%{_datadir}/applications/gvim.desktop +%suse_update_desktop_file gvim Utility TextEditor + # # documentation install -d -m 0755 %{buildroot}%{_docdir}/{,g}vim/