Update distfiles with correct dependencies
authorZhang Qiang <qiang.z.zhang@intel.com>
Mon, 13 Feb 2012 08:14:42 +0000 (16:14 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Mon, 13 Feb 2012 08:14:42 +0000 (16:14 +0800)
distfiles/debian/control
distfiles/gbs.spec

index faeb30f..e6880cc 100644 (file)
@@ -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. 
index 082c3f8..77cd955 100644 (file)
@@ -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