From 2689bc847d446afc55a9f07308318024fac7a27a Mon Sep 17 00:00:00 2001 From: Rhonda D'Vine Date: Fri, 28 Dec 2018 18:24:06 +0100 Subject: [PATCH] Add SOURCE file This package was missing the SOURCE information from the binary package. Signed-off-by: Rhonda D'Vine --- Makefile | 2 ++ debian/docs | 1 + 2 files changed, 3 insertions(+) create mode 100644 debian/docs diff --git a/Makefile b/Makefile index 7401d08..8269eae 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,7 @@ DOCDIR=${DESTDIR}/usr/share/doc/${PACKAGE} PVE_COMMON_FILES= \ Exception.pm +GITVERSION:=$(shell git rev-parse HEAD) all: ${DEB} @@ -22,6 +23,7 @@ $(BUILDSRC): rm -rf $(BUILDSRC) rsync -a debian $(BUILDSRC) make DESTDIR=./$(BUILDSRC) install + echo "git clone git://git.proxmox.com/git/pve-apiclient.git\\ngit checkout ${GITVERSION}" > $(BUILDSRC)/debian/SOURCE .PHONY: deb deb ${DEB}: $(BUILDSRC) diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..8696672 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +debian/SOURCE -- 2.39.2