From d662bcaf7fadb88cc1a7be9f574cd5901623b0c3 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Mon, 28 Oct 2013 16:25:57 +0200 Subject: [PATCH] Fixed packaging No need in Makefile and .dsc file as we're using git-buildpackage service in Jenkins job. Change-Id: Ie417a54693dd9ab4a6b5c372c8563b66a4a6d801 Signed-off-by: Ed Bartosh --- packaging/Makefile | 19 ------------------- packaging/lthor.dsc | 10 ---------- 2 files changed, 29 deletions(-) delete mode 100644 packaging/Makefile delete mode 100644 packaging/lthor.dsc diff --git a/packaging/Makefile b/packaging/Makefile deleted file mode 100644 index 4ffb78c..0000000 --- a/packaging/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -PKG_NAME := lthor -SPECFILE = $(addsuffix .spec, $(PKG_NAME)) -PKG_VERSION := $(shell grep '^Version: ' $(SPECFILE)|awk '{print $$2}') - -TARBALL := $(PKG_NAME)_$(PKG_VERSION).tar.gz - -tarball: - @cd .. && git archive --prefix $(PKG_NAME)-$(PKG_VERSION)/ HEAD \ - | gzip > packaging/$(TARBALL) - -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 - -clean: - @rm -f $(PKG_NAME)_*.tar.gz - -all: clean tarball dsc diff --git a/packaging/lthor.dsc b/packaging/lthor.dsc deleted file mode 100644 index f95e007..0000000 --- a/packaging/lthor.dsc +++ /dev/null @@ -1,10 +0,0 @@ -Format: 1.0 -Source: lthor -Binary: lthor -Architecture: any -Version: 1.3 -Maintainer: Ed Bartosh -Standards-Version: 3.7.2 -Build-Depends: debhelper (>= 7), pkg-config, cmake, libarchive-dev -Files: - 089ea228e22285acc04a5db61b71bb01 14705 lthor_1.3.tar.gz -- 2.34.1