Enable building with git-buildpackage
authorZhang Qiang <qiang.z.zhang@intel.com>
Thu, 7 Nov 2013 06:16:18 +0000 (14:16 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Mon, 25 Nov 2013 07:37:34 +0000 (15:37 +0800)
Also change the Debian packaging format as 1.0 native and remove
unnecessary Debian packaging files from the (rpm) packaging/ directory.

Change-Id: I0dfcdfcee18afac95bbbc255bc00057eab360c1c
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
.gbp.conf
debian/changelog
packaging/Makefile [deleted file]
packaging/gbs.dsc [deleted file]

index 3d416ed3d42fff4d654457ae2a19cdf483d02dd8..ed62168607672913251e84727709dc1436d859c3 100644 (file)
--- a/.gbp.conf
+++ b/.gbp.conf
@@ -3,5 +3,4 @@
 vendor=Tizen
 # Subdir for RPM packaging data
 packaging-dir=packaging
-# Export hook
-postexport=if [ -f Makefile ]; then make dsc; fi
+packaging-tag=%(upstreamversion)s
index c1af3ab462c703b879b7f100fd09ee2b501277c0..79b8b5544d8ea920b27c9dca2f87f038a77c439f 100644 (file)
@@ -1,4 +1,4 @@
-gbs (0.19-1) unstable; urgency=high
+gbs (0.19) unstable; urgency=high
   * upgrade to gbs v0.19, which contains the following bug fixing & features:
   * [build] support comments(#) in binary-list file for --binary-from-file
   * [build] remove previous built rpm and srpm if new version has been built out
diff --git a/packaging/Makefile b/packaging/Makefile
deleted file mode 100644 (file)
index d62a453..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-PKG_NAME := gbs
-SPECFILE = $(addsuffix .spec, $(PKG_NAME))
-PKG_VERSION := $(shell grep '^Version: ' $(SPECFILE)|awk '{print $$2}')
-
-TARBALL := $(PKG_NAME)_$(PKG_VERSION).tar.gz
-
-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):
-       @cd .. && git archive --prefix $(PKG_NAME)-$(PKG_VERSION)/ HEAD \
-               | gzip > packaging/$(TARBALL)
-
-clean:
-       @rm -f *.tar.gz
-
-all: clean dsc
diff --git a/packaging/gbs.dsc b/packaging/gbs.dsc
deleted file mode 100644 (file)
index 01f68d0..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Format: 1.0
-Source: gbs
-Version: 0.19
-Binary: gbs, gbs-api, gbs-export, gbs-remotebuild
-Maintainer: Jian-feng Ding <jian-feng.ding@intel.com>
-Architecture: all
-Standards-Version: 3.7.1
-Build-Depends: debhelper, python-support
-Files:
- 574996dfeeb001e70f20239a0e621daf 2457861 gbs_0.19.tar.gz