From 6ae471b0c204ba99cb7e3685d34052430db973028bd50d7f89af7454a81ddcb3 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 19 Feb 2012 19:11:32 +0000 Subject: [PATCH] Accepting request 105885 from home:coolo:branches:openSUSE:Factory - vim needs more than what gtk requires - so buildrequire pkgconfig(xt) OBS-URL: https://build.opensuse.org/request/show/105885 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=88 --- vim.changes | 5 +++++ vim.spec | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/vim.changes b/vim.changes index 3ec0a7b..c5e74fe 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/vim.spec b/vim.spec index 53bd6ea..40cd546 100644 --- a/vim.spec +++ b/vim.spec @@ -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,6 +26,9 @@ BuildRequires: fdupes BuildRequires: autoconf BuildRequires: gettext-devel BuildRequires: gtk2-devel +%if 0%{?suse_version} > 1200 +BuildRequires: pkgconfig(xt) +%endif BuildRequires: libacl-devel BuildRequires: ncurses-devel BuildRequires: perl @@ -64,8 +68,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}