From: Markus Lehtonen Date: Wed, 11 Dec 2013 11:28:56 +0000 (+0200) Subject: packaging: back to building with gbp X-Git-Tag: 0.21~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b08ff7d7cc7b403402d7872fe4ab805b169e103;p=tools%2Fgbs.git packaging: back to building with gbp Also, fix the dependency to pristine-tar and make the Release tag in spec file more consistent. Change-Id: I28bca6d9ea2544c02d7b19521a14794cb9f735dd Signed-off-by: Markus Lehtonen --- diff --git a/packaging/Makefile b/packaging/Makefile deleted file mode 100644 index d62a453..0000000 --- a/packaging/Makefile +++ /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 index d54c27f..0000000 --- a/packaging/gbs.dsc +++ /dev/null @@ -1,10 +0,0 @@ -Format: 1.0 -Source: gbs -Version: 0.20 -Binary: gbs, gbs-api, gbs-export, gbs-remotebuild -Maintainer: Jian-feng Ding -Architecture: all -Standards-Version: 3.7.1 -Build-Depends: debhelper, python-support, python-docutils -Files: - 574996dfeeb001e70f20239a0e621daf 2457861 gbs_0.20.tar.gz diff --git a/packaging/gbs.spec b/packaging/gbs.spec index 9651c5c..45c2c7c 100644 --- a/packaging/gbs.spec +++ b/packaging/gbs.spec @@ -3,7 +3,11 @@ Name: gbs Summary: The command line tools for Tizen package developers Version: 0.20 +%if 0%{?opensuse_bs} +Release: 1.. +%else Release: 1 +%endif Group: Development/Tools License: GPLv2 BuildArch: noarch