Update packaging files
authorZhang Qiang <qiang.z.zhang@intel.com>
Wed, 12 Sep 2012 13:53:50 +0000 (21:53 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Mon, 17 Sep 2012 02:18:17 +0000 (10:18 +0800)
* Update dependency:
  build 2012.09.12
  gbp:  0822
  depanneur: 0.1
* Update Makefile:
  dsc depend on tarball

Change-Id: I8ccdd2320b06699f37f705aea181b96673f88d5a

debian/control
debian/rules
distfiles/gbs.spec
packaging/Makefile
packaging/gbs.dsc

index 29b893d..d846bcc 100644 (file)
@@ -2,7 +2,7 @@ Source: gbs
 Section: devel
 Priority: extra
 Maintainer: Jian-feng Ding <jian-feng.ding@intel.com>
-Build-Depends: debhelper (>= 7.0.15), python-dev, dpatch, cdbs,
+Build-Depends: debhelper (>= 7.0.15), python-dev,
 Standards-Version: 3.8.0
 Homepage: http://www.tizen.org
 
@@ -10,14 +10,15 @@ Package: gbs
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends},
  git-core,
- osc (= 0.134.0-1tizen+1),
- build (= 2012.08.10-1),
  rpm,
  qemu-arm-static (>= 0.14.1) | qemu-user-static,
  binfmt-support,
  sudo,
- git-buildpackage-rpm (= 0.6.0git20120810),
- createrepo
+ createrepo,
+ osc (= 0.134.0-1tizen+1),
+ build (= 2012.09.12-1),
+ git-buildpackage-rpm (= 0.6.0git20120822),
+ depanneur (= 0.1)
 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 c1f1589..05d0e94 100644 (file)
@@ -2,15 +2,12 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-
-include /usr/share/dpatch/dpatch.make
-
 build: build-stamp
-build-stamp: patch-stamp
+build-stamp:
        dh_testdir
        python setup.py build
 
-clean: unpatch
+clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp
index 72e73b8..ac4cd69 100644 (file)
@@ -11,13 +11,14 @@ Source0:    %{name}_%{version}.tar.gz
 Requires:   python >= 2.5
 Requires:   python-pycurl
 Requires:   git-core
-Requires:   osc = 0.134.0
-Requires:   build = 2012.08.10
 Requires:   qemu >= 0.14.1
 Requires:   qemu-arm-static >= 0.14.1
 Requires:   sudo
-Requires:   git-buildpackage-rpm = 0.6.0git20120810
 Requires:   createrepo
+Requires:   osc = 0.134.0
+Requires:   build = 2012.09.12
+Requires:   git-buildpackage-rpm = 0.6.0git20120822
+Requires:   depanneur = 0.1
 %if 0%{?fedora_version}
 Requires:   rpm-build
 %else
index 9495972..1539ac7 100644 (file)
@@ -4,7 +4,7 @@ PKG_VERSION := $(shell grep '^Version: ' $(SPECFILE)|awk '{print $$2}')
 
 TARBALL := $(PKG_NAME)_$(PKG_VERSION).tar.gz
 
-dsc:
+dsc:tarball
        @sed  -i 's/ [a-f0-9]\+ [0-9]\+ $(TARBALL)/ $(shell md5sum $(TARBALL) | sed "s/  / $(shell stat -c '%s' $(TARBALL)) /")/' $(PKG_NAME).dsc
 
 tarball:
index fb98a9f..6b6cb01 100644 (file)
@@ -5,6 +5,6 @@ Binary: gbs
 Maintainer: Jian-feng Ding <jian-feng.ding@intel.com>
 Architecture: all
 Standards-Version: 3.7.1
-Build-Depends: debhelper (>= 4.0.0), python-dev, dpatch, cdbs
+Build-Depends: debhelper (>= 4.0.0), python-dev
 Files:
eb764ded2164913c0db9be45fa59ea6e 2456014 gbs_0.9.tar.gz
a7bb9873246861f5e2bdeee61e69b9e9 2450871 gbs_0.9.tar.gz