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>
vendor=Tizen
# Subdir for RPM packaging data
packaging-dir=packaging
-# Export hook
-postexport=if [ -f Makefile ]; then make dsc; fi
+packaging-tag=%(upstreamversion)s
-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
+++ /dev/null
-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
+++ /dev/null
-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