[pve-devel] [PATCH libarchive-perl 1/2] Fetch package + version from the changelog

Rhonda D'Vine rhonda at proxmox.com
Thu Jan 10 13:37:21 CET 2019


Signed-off-by: Rhonda D'Vine <rhonda at proxmox.com>
---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 485cf02..890d4fb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
-RELEASE=4.0
+VERSION != dpkg-parsechangelog -Sversion | cut -d- -f1
+PACKAGE != dpkg-parsechangelog -Ssource
+PKGREL  != dpkg-parsechangelog -Sversion | cut -d- -f2
 
 # h2xs -Afn LibArchive
 # h2xs -an LibArchive /usr/include/archive.h /usr/include/archive_entry.h
-- 
2.11.0





More information about the pve-devel mailing list