Make dependencies to osc and build strict. Make dependency to
authorEd Bartosh <eduard.bartosh@intel.com>
Fri, 20 Jul 2012 11:29:37 +0000 (14:29 +0300)
committerEd Bartosh <eduard.bartosh@intel.com>
Wed, 25 Jul 2012 10:19:52 +0000 (13:19 +0300)
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

debian/control
distfiles/gbs.spec

index 7488b25..928bcc3 100644 (file)
@@ -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.
index 0108e90..e2a962a 100644 (file)
@@ -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