ref: refs/heads/SuSE-Code-11-Branch
commit d03418a02a5b4987af56539a835951325272f256
Author: Michael Andres
Date: Fri Oct 23 11:13:00 2009 +0200
Require at least libzypp version used at buildtime. (bnc #549205)
---
zypper.spec.cmake | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/zypper.spec.cmake b/zypper.spec.cmake
index 95c1cf9..f49b9da 100644
--- a/zypper.spec.cmake
+++ b/zypper.spec.cmake
@@ -14,7 +14,8 @@ Name: @PACKAGE@
BuildRequires: libzypp-devel >= 5.30.12 boost-devel >= 1.33.1 gettext-devel >= 0.15 readline-devel >= 5.1
BuildRequires: gcc-c++ >= 4.1 cmake >= 2.4.6
Requires: procps
-Recommends: logrotate cron
+%requires_ge libzypp
+Recommends: logrotate cron
License: GPL v2 or later
Group: System/Packages
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -26,8 +27,8 @@ Release: 0
Source: @PACKAGE@-@VERSION@.tar.bz2
Prefix: /usr
URL: http://en.opensuse.org/Zypper
-Provides: y2pmsh
-Obsoletes: y2pmsh
+Provides: y2pmsh
+Obsoletes: y2pmsh
%description
Command line package management tool using libzypp.
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org