From 863006a63ca10a56dbfda6adf7a326029e5cda25620dcf53b598f0001708fd50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 27 Aug 2014 12:25:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=225 --- _service | 13 +++++++++++++ vim-7.4.417.hg.6162.tar.xz | 3 +++ vim-7.4.417.tar.bz2 | 3 --- vim.spec | 14 +++++--------- 4 files changed, 21 insertions(+), 12 deletions(-) create mode 100644 _service create mode 100644 vim-7.4.417.hg.6162.tar.xz delete mode 100644 vim-7.4.417.tar.bz2 diff --git a/_service b/_service new file mode 100644 index 0000000..2abdb94 --- /dev/null +++ b/_service @@ -0,0 +1,13 @@ + + + hg + https://code.google.com/p/vim/ + vim + 7.4.417.hg + v7-4-417 + + + xz + vim*.tar + + diff --git a/vim-7.4.417.hg.6162.tar.xz b/vim-7.4.417.hg.6162.tar.xz new file mode 100644 index 0000000..180736d --- /dev/null +++ b/vim-7.4.417.hg.6162.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed397439890e2be12ce7c5ace616f6de4cb935422666562232e6ae96e9310001 +size 7799164 diff --git a/vim-7.4.417.tar.bz2 b/vim-7.4.417.tar.bz2 deleted file mode 100644 index eb7d413..0000000 --- a/vim-7.4.417.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3d2668a9d8f2b681565ac4351f9158e89a3de58fb5187d80b5600a2fde9ab186 -size 9944130 diff --git a/vim.spec b/vim.spec index 071fd9b..c27373b 100644 --- a/vim.spec +++ b/vim.spec @@ -17,13 +17,14 @@ %define pkg_version 7.4 -%define official_ptchlvl 417 +%define patchlevel 417 +%define revision 6162 %define VIM_SUBDIR vim74 %define site_runtimepath /usr/share/vim/site %define make make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?_smp_mflags} Name: vim -Version: 7.4.%{official_ptchlvl} +Version: 7.4.%{patchlevel}.hg.%{revision} Release: 0 BuildRequires: db-devel %if 0%{?suse_version} > 1020 @@ -73,7 +74,7 @@ License: SUSE-Vim Group: Productivity/Editors/Vi # Url: http://www.vim.org/ -Source: vim-%{version}.tar.bz2 +Source: vim-%{version}.tar.xz Source3: suse.vimrc Source4: vimrc_example1 Source5: vimrc_example2 @@ -166,7 +167,7 @@ You need package vim for the help and other documentation too. If you want less features, you might want to install vim instead. %prep -%setup -q -n vim +%setup -q %patch3 -p1 %patch4 -p1 @@ -187,11 +188,6 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim %patch101 cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} . -# newer perl? ugly hack to fix build anyway. -%if 0%{?suse_version} > 1210 -sed -i -e 's/^XS(XS_/XS_INTERNAL(XS_/' src/if_perl.xs -%endif - %build export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing" export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=1}