[pve-devel] [PATCH apiclient 2/3] Add SOURCE file
Rhonda D'Vine
rhonda at proxmox.com
Fri Dec 28 18:24:06 CET 2018
This package was missing the SOURCE information from the binary package.
Signed-off-by: Rhonda D'Vine <rhonda at proxmox.com>
---
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.11.0
More information about the pve-devel
mailing list