Hello community,
here is the log from the commit of package vim for openSUSE:Factory checked in at 2011-11-07 16:18:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vim (Old)
and /work/SRC/openSUSE:Factory/.vim.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vim", Maintainer is "idonmez@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/vim/vim.changes 2011-10-19 14:08:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.vim.new/vim.changes 2011-11-07 16:18:11.000000000 +0100
@@ -1,0 +2,13 @@
+Mon Nov 7 12:59:21 UTC 2011 - idonmez@suse.com
+
+- Move spec skeleton functionality into /etc/vimrc (bnc#720898)
+
+-------------------------------------------------------------------
+Sun Nov 6 03:49:09 UTC 2011 - crrodriguez@opensuse.org
+
+- vim-enhanced,gvim: Never ever link against static libpython
+ this happends because %{_libdir}/python$vesion/config is
+ searched first and picks libpython.a instead of .so ...
+
+
+-------------------------------------------------------------------
Old:
----
dot.vimrc
New:
----
vim73-no-static-libpython.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vim.spec ++++++
--- /var/tmp/diff_new_pack.4GBGdB/_old 2011-11-07 16:18:18.000000000 +0100
+++ /var/tmp/diff_new_pack.4GBGdB/_new 2011-11-07 16:18:18.000000000 +0100
@@ -88,7 +88,6 @@
Source18: missing-vim-client
Source19: gvim.desktop
Source20: spec.skeleton
-Source21: dot.vimrc
Source22: vim.conf
Source23: apparmor.vim
Source98: %{name}-7.3-patches.tar.bz2
@@ -112,6 +111,7 @@
Patch25: vim-7.2-lzma-support.patch
Patch27: %{name}-7.3-disable_gcc_warning_eval_c.patch
Patch100: vim-7.1.314-CVE-2009-0316-debian.patch
+Patch101: vim73-no-static-libpython.patch
%description
Vim (Vi IMproved) is an almost compatible version of the UNIX editor
@@ -277,6 +277,7 @@
#%patch25
%patch27 -p1
%patch100 -p1
+%patch101
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE8} %{SOURCE10} .
#rename no nb $RPM_BUILD_DIR/vim*/src/po/no.*
#rename menu_no menu_nb $RPM_BUILD_DIR/vim*/runtime/lang/menu_no*
@@ -314,6 +315,10 @@
--enable-gtk2-check \
--with-gtk-prefix=/opt/gnome \
--with-gnome=/opt/gnome"
+
+pushd src
+autoconf
+popd
#
# build small default binary
%configure \
@@ -350,10 +355,10 @@
gcc %{optflags} %{SOURCE13} -o vitmp
%install
-#
# create icon directory to have the icon from the tarball installed
install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
%makeinstall STRIP=:
+
# the last installed binary is gvim. preserve it and
# fix its symlinks. e* was added here as it doesnt make much sense in
# console
@@ -361,13 +366,14 @@
for f in egvim egview eview evim gex gvi gview gvimdiff rgview rgvim ; do
ln -s -vf gvim %{buildroot}%{_bindir}/$f
done
-#
+
# install the other binaries
install -D -m 0755 vim-normal %{buildroot}/bin/vim-normal
install -D -m 0755 vim-enhanced %{buildroot}%{_bindir}/vim-enhanced
%if 0%{?with_splitted_gvim}
install -D -m 0755 gvim-enhanced %{buildroot}%{_bindir}/gvim-enhanced
%endif
+
# compat symlinks
# we need a dummy target for /etc/alternatives/vim
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
@@ -378,21 +384,23 @@
ln -s -f /bin/vim %{buildroot}%{_bindir}/vi
ln -s -f vim %{buildroot}%{_bindir}/edit
ln -s -f /bin/vim %{buildroot}/bin/ex
-#
+
# man pages
ln -s -f vim.1.gz %{buildroot}%{_mandir}/man1/vi.1.gz
ln -s -f vim.1.gz %{buildroot}%{_mandir}/man1/ex.1.gz
-#
+
# vitmp
install -m 0755 vitmp %{buildroot}%{_bindir}/vitmp
install -m 0644 %{SOURCE14} %{buildroot}%{_mandir}/man1/vitmp.1
install -m 0755 %{SOURCE15} %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tools/vim132
-#
+
# make the vim settings more generic
ln -s -f %{VIM_SUBDIR} %{buildroot}%{_datadir}/vim/current
+
# additional files
install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/vimrc
install -D -m 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/gvimrc
+
# create site wide runtime directory
mkdir -p -m 0755 %{buildroot}%{site_runtimepath}/after
mkdir -m 0755 %{buildroot}%{site_runtimepath}/autoload
@@ -404,9 +412,9 @@
mkdir -m 0755 %{buildroot}%{site_runtimepath}/after/syntax
mkdir -m 0755 %{buildroot}%{_datadir}/vim/current/skeletons
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
install -D -m 0644 %{SOURCE19} %{buildroot}%{_datadir}/applications/gvim.desktop
@@ -515,7 +523,6 @@
%files base
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/vimrc
-%config(noreplace) %{_sysconfdir}/skel/.vimrc
%ghost %{_sysconfdir}/alternatives/vim
%dir /usr/lib/tmpfiles.d
%config(noreplace) /usr/lib/tmpfiles.d/vim.conf
++++++ spec.skeleton ++++++
--- /var/tmp/diff_new_pack.4GBGdB/_old 2011-11-07 16:18:18.000000000 +0100
+++ /var/tmp/diff_new_pack.4GBGdB/_new 2011-11-07 16:18:18.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) specCURRENT_YEAR SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,8 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
Name: specRPM_CREATION_NAME
Version:
Release:
@@ -43,9 +41,6 @@
%install
%make_install
-%clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
-
%post
%postun
++++++ suse.vimrc ++++++
--- /var/tmp/diff_new_pack.4GBGdB/_old 2011-11-07 16:18:18.000000000 +0100
+++ /var/tmp/diff_new_pack.4GBGdB/_new 2011-11-07 16:18:18.000000000 +0100
@@ -2,9 +2,42 @@
" author: Klaus Franken