]> git.proxmox.com Git - libarchive-perl.git/commitdiff
Fetch package + version from the changelog
authorRhonda D'Vine <rhonda@proxmox.com>
Thu, 10 Jan 2019 12:37:21 +0000 (13:37 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 16 Jan 2019 12:16:44 +0000 (13:16 +0100)
Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
Makefile

index 485cf02e6c8ff391b936044e2d07fe2a4a98ec79..890d4fb2f134651f3a4310fcbac2e00b22137e0f 100644 (file)
--- 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