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 faeb30fe61fa0053f8943450409667d72940ea2b..e6880cc5e4d1c1e4a5a5fe4ce324bb1fd304d834 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 082c3f81c3cdb15e79d038c2361d71be00c3b384..77cd9556cfd32e13782b8e14444e5daeabfb1467 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