Accepting request 107548 from editors

- remove pointless systemd dependency and run the tmpfiles binary
  only in case it exists (forwarded request 107547 from mvyskocil)

OBS-URL: https://build.opensuse.org/request/show/107548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vim?expand=0&rev=80
This commit is contained in:
Stephan Kulow 2012-03-23 14:11:43 +00:00 committed by Git OBS Bridge
commit 319bace66e
3 changed files with 56 additions and 12 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:952d3169e13434e875588d158ed4da890f3fd0aa2de015593bdd4657fb91cab8
size 366696
oid sha256:f7fd00083725faa417f68ff2588009144c052078f1d070a35b417d094a49941d
size 425054

View File

@ -1,3 +1,44 @@
-------------------------------------------------------------------
Wed Feb 29 12:55:57 UTC 2012 - mvyskocil@suse.cz
- remove pointless systemd dependency and run the tmpfiles binary
only in case it exists
-------------------------------------------------------------------
Tue Feb 28 12:58:08 UTC 2012 - idonmez@suse.com
- Update to patchlevel 456, fixes the following problems
* Using many continuation lines can be slow.
* Pasting in the command line is slow.
* Undo broken when pasting close to the last line.
* Crash when a BufWinLeave autocommand closes
the only other window.
* ":all!" and ":sall!" give error E477, even though the
documentation says these are valid commands.
* Vim does not support UTF8_STRING for the X selection.
* Compiler warnings to size casts in Perl interface.
* Search history lines are duplicated.
* "it" and "at" don't work properly
with a dash in the tag name.
* DBCS encoding in a user command does not always work.
* When a user complete function returns -1 an error message
is given.
* Completion of functions stops once a dictionary is encountered.
* Storing a float in a session file has an additional '&'.
* Pasting in Visual mode using the "" register does not work.
* Multi-byte characters in b:browsefilter are not handled correctly.
* ":helpgrep" does not trigger QuickFixCmd* autocommands.
* ":cd" doesn't work when the path contains wildcards.
* When placing a mark while starting up a screen redraw messes up
the screen.
* Mapping CTRL-K in Insert mode breaks CTRL-X CTRL-K for dictionary
completion.
-------------------------------------------------------------------
Sun Feb 19 19:00:03 UTC 2012 - coolo@suse.com
- vim needs more than what gtk requires - so buildrequire pkgconfig(xt)
-------------------------------------------------------------------
Fri Dec 23 11:18:17 UTC 2011 - idonmez@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package vim
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: vim
Version: 7.3
Release: 0
@ -25,16 +26,18 @@ BuildRequires: fdupes
BuildRequires: autoconf
BuildRequires: gettext-devel
BuildRequires: gtk2-devel
BuildRequires: libacl-devel
%if 0%{?suse_version} > 1200
BuildRequires: pkgconfig(xt)
%endif
BuildRequires: ncurses-devel
BuildRequires: perl
BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: ruby-devel
BuildRequires: systemd
BuildRequires: tcl-devel
BuildRequires: update-alternatives
BuildRequires: update-desktop-files
BuildRequires: systemd
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1130
@ -44,7 +47,7 @@ BuildRequires: gpm
%endif
#
%define pkg_version 7.3
%define official_ptchlvl 382
%define official_ptchlvl 456
%define VIM_SUBDIR vim73
%define site_runtimepath /usr/share/vim/site
#
@ -64,8 +67,8 @@ PreReq: fileutils
PreReq: sh-utils
PreReq: update-alternatives
#
Provides: vim_client
Provides: vi
Provides: vim_client
#
%if 0%{?suse_version} >= 1010
Recommends: vim-data = %{version}
@ -155,8 +158,6 @@ Summary: Vi IMproved
Group: Productivity/Editors/Vi
PreReq: %{vim_prereq}
PreReq: update-alternatives
# For post script
Requires: systemd
%description base
Vim (Vi IMproved) is an almost compatible version of the UNIX editor
@ -216,9 +217,9 @@ Summary: dummy package for a subpackage only build in the buildservice
Group: Productivity/Editors/Vi
PreReq: %{gvim_prereq}
PreReq: update-alternatives
Provides: vim_client
Provides: gvim_client
Provides: vi
Provides: vim_client
%description -n gvim-enhanced
dummy package for a subpackage only build in the buildservice
@ -236,8 +237,8 @@ Requires: gvim_client
Provides: gvim-base = %{version}
Provides: gvim-enhanced = %{version}
Provides: gvim_client
Provides: vim_client
Provides: vi
Provides: vim_client
%description -n gvim
Copy and modify /usr/share/vim/current/gvimrc to ~/.gvimrc if needed.
@ -464,7 +465,9 @@ mkdir -p %{buildroot}/var/run/vi.recover
/usr/sbin/update-alternatives --install \
/bin/vim vim %{_datadir}/vim/current/tools/missing-vim-client 0
# Create tmpfiles
/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/vim.conf
if [ -x /bin/systemd-tmpfiles ]; then
/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/vim.conf
fi
%post enhanced
/usr/sbin/update-alternatives --install \