]> git.proxmox.com Git - pve-apiclient.git/commitdiff
Add SOURCE file
authorRhonda D'Vine <rhonda@proxmox.com>
Fri, 28 Dec 2018 17:24:06 +0000 (18:24 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 3 Jan 2019 07:49:52 +0000 (08:49 +0100)
This package was missing the SOURCE information from the binary package.

Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
Makefile
debian/docs [new file with mode: 0644]

index 7401d08da273510ab459dd62ddbd2285ef9e49be..8269eae1c05caecbfa8825ac2065eef16c4ea8dc 100644 (file)
--- 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 (file)
index 0000000..8696672
--- /dev/null
@@ -0,0 +1 @@
+debian/SOURCE