[Tizen-submit] 8185: Changes to Tizen/vim

noreply at tizen.org noreply at tizen.org
Fri Aug 16 11:23:22 GMT 2013


Hi,
Anas Nashif have made the following changes to vim in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #8185

  submit:       Tizen:build/vim(cleanup) -> Tizen


Message:
Submitter: Anas Nashif <anas.nashif at intel.com>
Comments: Packaging cleanup
Git project: platform/upstream/vim
Tag: submit/tizen/20130816.112520
Commit: 058b6a60da3cf00bfcbc138782e6b6c14ecce4d6 packaging: minor spec cleanup, set License tag to 'Vim'

State:   new        2013-08-16T04:20:02 tizenrobot
Comment: <no comment>
changes files:
--------------

spec files:
-----------
--- vim.spec
+++ vim.spec
@@ -1,4 +1,3 @@
-%define pkg_version 7.3
 %define official_ptchlvl 822
 %define VIM_SUBDIR vim73
 %define site_runtimepath /usr/share/vim/site
@@ -6,13 +5,11 @@
 Name:           vim
 Version:        7.3
 Release:        0
-VCS:            platform/upstream/vim#submit/tizen/20130710.135541-0-g46c400917d0cc59ae3e5bf98c1271e9ee22a2a44
-License:        VIM LICENSE
-#
+VCS:            platform/upstream/vim#submit/tizen/20130816.112520-0-g058b6a60da3cf00bfcbc138782e6b6c14ecce4d6
+License:        Vim
 Summary:        Vi IMproved
-#
 Url:            http://www.vim.org/
-Group:          Productivity/Editors/Vi
+Group:          Base/Utilities
 Source:         ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2
 Source3:        tizen.vimrc
 Source98:       %{name}-7.3-patches.tar.bz2
@@ -29,11 +26,9 @@
 BuildRequires:  pkgconfig
 BuildRequires:  python-devel
 BuildRequires:  systemd
-Requires(pre):         update-alternatives
-#
 Provides:       vi
 Provides:       vim_client
-#
+Requires(pre):  update-alternatives
 %define vim_prereq %{name}-base = %{version}
 # Explicitly require versioned perl for libperl.so
 %define perl_requires perl = %(rpm -q --qf '%{VERSION}' perl)
@@ -54,7 +49,6 @@
 
 %package data
 Summary:        Vi IMproved
-Group:          Productivity/Editors/Vi
 BuildArch:      noarch
 Requires(pre):         %{vim_prereq}
 
@@ -72,7 +66,6 @@
 
 %package base
 Summary:        Vi IMproved
-Group:          Productivity/Editors/Vi
 Requires(pre):         %{vim_prereq}
 Requires(pre):         update-alternatives
 
@@ -95,7 +88,6 @@
 
 %package enhanced
 Summary:        A version of the VIM editor which includes recent enhancements
-Group:          Productivity/Editors/Vi
 Requires:       %{perl_requires}
 Requires:       vim-data
 Provides:       vi
@@ -120,9 +112,9 @@
 # 0001-use-etc-vimrc.patch
 %patch0 -p1
 cp %{SOURCE1001} .
-for p in ../vim-%{pkg_version}-patches/%{pkg_version}*; do
+for p in ../vim-%{version}-patches/%{version}*; do
     test -e $p || break
-    test ${p#*/%{pkg_version}.} -le %{official_ptchlvl} || exit 1
+    test ${p#*/%{version}.} -le %{official_ptchlvl} || exit 1
     echo Patch $p
     patch -s -p0 < $p
 done
@@ -162,14 +154,14 @@
     --disable-perlinterp --disable-pythoninterp \
     --disable-rubyinterp --disable-tclinterp
 sed -i -e 's|define HAVE_DATE_TIME 1|undef HAVE_DATE_TIME|' src/auto/config.h
-make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?jobs:-j%jobs}
+make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?_smp_mflags}
 cp src/vim vim-normal
 make distclean

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list