From a3efbcf1d3de06f8c2ca1e2e241b8392f8d4c084 Mon Sep 17 00:00:00 2001 From: Zhang Qiang Date: Mon, 13 Feb 2012 16:14:42 +0800 Subject: [PATCH] Update distfiles with correct dependencies --- distfiles/debian/control | 4 ++-- distfiles/gbs.spec | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/distfiles/debian/control b/distfiles/debian/control index faeb30f..e6880cc 100644 --- a/distfiles/debian/control +++ b/distfiles/debian/control @@ -10,8 +10,8 @@ Package: gbs Architecture: all Depends: ${misc:Depends}, ${python:Depends}, git-core, - curl, - osc (>= 0.131) + osc (>= 0.131), + rpm Description: The command line tools for Tizen package developers The command line tools for Tizen package developers will be used to do packaging related tasks. diff --git a/distfiles/gbs.spec b/distfiles/gbs.spec index 082c3f8..77cd955 100644 --- a/distfiles/gbs.spec +++ b/distfiles/gbs.spec @@ -10,8 +10,13 @@ URL: http://www.tizen.org Source0: %{name}-%{version}.tar.gz Requires: python >= 2.5 Requires: git-core -Requires: curl Requires: osc >= 0.131 +%if 0%{?fedora_version} +Requires: rpm-build +%else +Requires: rpm +%endif + BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build -- 2.7.4