From: Ed Bartosh Date: Fri, 20 Jul 2012 11:29:37 +0000 (+0300) Subject: Make dependencies to osc and build strict. Make dependency to X-Git-Tag: 0.9~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d6e8990d7e6792568bb17a216d3ff13a96f5ced;p=tools%2Fgbs.git Make dependencies to osc and build strict. Make dependency to git-buildpackage-rpm versioning. As gbs depends on locally modified versions of osc and build packages it makes sence to strictly depend on them to prevent installation of the bigger version of the package from distro repos. In case of git-buildpackage-rpm it's hardly possible for any distro to include bigger version as we're using upstream package and developing on top of it, so versioning dependency is enough. Change-Id: I757708a35362f8a68f81fad472ac540c3286fa92 --- diff --git a/debian/control b/debian/control index 7488b25..928bcc3 100644 --- a/debian/control +++ b/debian/control @@ -10,13 +10,13 @@ Package: gbs Architecture: all Depends: ${misc:Depends}, ${python:Depends}, git-core, - osc (>= 0.131), - build (>= 2012.07.20), + osc (= 0.134.0-1tizen+1), + build (= 2012.07.21-1), rpm, qemu-arm-static (>= 0.14.1) | qemu-user-static, binfmt-support, sudo, - git-buildpackage-rpm + git-buildpackage-rpm (>= 0.6.0git20120628) 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 0108e90..e2a962a 100644 --- a/distfiles/gbs.spec +++ b/distfiles/gbs.spec @@ -11,12 +11,12 @@ Source0: %{name}_%{version}.tar.gz Requires: python >= 2.5 Requires: python-pycurl Requires: git-core -Requires: osc >= 0.131 -Requires: build >= 2011.10.10 +Requires: osc = 0.134.0 +Requires: build = 2012.07.21 Requires: qemu >= 0.14.1 Requires: qemu-arm-static >= 0.14.1 Requires: sudo -Requires: git-buildpackage-rpm +Requires: git-buildpackage-rpm >= 0.6.0git20120628 %if 0%{?fedora_version} Requires: rpm-build %else