From 8d4076e5003a6496ba924313e7ab53ca0fb5d2d7 Mon Sep 17 00:00:00 2001 From: Zhang Qiang Date: Fri, 7 Mar 2014 13:51:46 +0800 Subject: [PATCH] packaging: use gbp packaging service Change-Id: I79930cbfea24dd2b7b7faba2cffd38afca1883ab --- .gbp.conf | 1 + packaging/Makefile | 19 ------------------- packaging/depanneur.dsc | 10 ---------- 3 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 packaging/Makefile delete mode 100644 packaging/depanneur.dsc diff --git a/.gbp.conf b/.gbp.conf index ab0a906..4cc0132 100644 --- a/.gbp.conf +++ b/.gbp.conf @@ -5,3 +5,4 @@ vendor=Tizen pristine-tar=False # Subdir for RPM packaging data packaging-dir=packaging +packaging-tag=%(upstreamversion)s diff --git a/packaging/Makefile b/packaging/Makefile deleted file mode 100644 index 35795f7..0000000 --- a/packaging/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -PKG_NAME := depanneur -SPECFILE = $(addsuffix .spec, $(PKG_NAME)) -PKG_VERSION := $(shell grep '^Version: ' $(SPECFILE)|awk '{print $$2}') - -TARBALL := $(PKG_NAME)_$(PKG_VERSION).tar.gz - -dsc: tarball - $(eval MD5=$(shell md5sum $(TARBALL) | sed "s/ / $(shell stat -c '%s' $(TARBALL)) /")) - @sed -i 's/^Version:.*/Version: $(PKG_VERSION)/' $(PKG_NAME).dsc - @sed -i 's/ [a-f0-9]\+ [0-9]\+ $(PKG_NAME).*tar.*/ $(MD5)/' $(PKG_NAME).dsc - -tarball: - @cd .. && git archive --prefix $(PKG_NAME)-$(PKG_VERSION)/ HEAD \ - | gzip > packaging/$(TARBALL) - -clean: - @rm -f $(PKG_NAME)*tar* - -all: tarball dsc diff --git a/packaging/depanneur.dsc b/packaging/depanneur.dsc deleted file mode 100644 index a2d936a..0000000 --- a/packaging/depanneur.dsc +++ /dev/null @@ -1,10 +0,0 @@ -Format: 1.0 -Source: depanneur -Version: 0.11 -Binary: depanneur -Maintainer: Zhang Qiang -Architecture: all -Standards-Version: 3.7.1 -Build-Depends: debhelper (>= 7.0.15), perl (>> 5.8.1) -Files: - 9e0cf999ae732d40e751d4fd1c6548f7 18136 depanneur_0.11.tar.gz -- 2.34.1