build: use dpkg-parsechangelog
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
parent
fa456d6c4b
commit
f7305de3c0
11
Makefile
11
Makefile
@ -2,12 +2,6 @@ RELEASE=5.1
|
|||||||
|
|
||||||
# source form https://github.com/zfsonlinux/
|
# source form https://github.com/zfsonlinux/
|
||||||
|
|
||||||
ZFSVER=0.7.12
|
|
||||||
ZFSPKGREL=pve1~bpo1
|
|
||||||
SPLPKGREL=pve1~bpo1
|
|
||||||
ZFSPKGVER=${ZFSVER}-${ZFSPKGREL}
|
|
||||||
SPLPKGVER=${ZFSVER}-${SPLPKGREL}
|
|
||||||
|
|
||||||
SPLDIR=spl-linux_${ZFSVER}
|
SPLDIR=spl-linux_${ZFSVER}
|
||||||
SPLSRC=spl/upstream
|
SPLSRC=spl/upstream
|
||||||
SPLPKG=spl/debian
|
SPLPKG=spl/debian
|
||||||
@ -15,6 +9,11 @@ ZFSDIR=zfs-linux_${ZFSVER}
|
|||||||
ZFSSRC=zfs/upstream
|
ZFSSRC=zfs/upstream
|
||||||
ZFSPKG=zfs/debian
|
ZFSPKG=zfs/debian
|
||||||
|
|
||||||
|
ZFSVER != dpkg-parsechangelog -l ${ZFSPKG}/changelog -Sversion | cut -d- -f1
|
||||||
|
|
||||||
|
ZFSPKGVER != dpkg-parsechangelog -l ${ZFSPKG}/changelog -Sversion
|
||||||
|
SPLPKGVER != dpkg-parsechangelog -l ${SPLPKG}/changelog -Sversion
|
||||||
|
|
||||||
SPL_DEB = \
|
SPL_DEB = \
|
||||||
spl_${SPLPKGVER}_amd64.deb
|
spl_${SPLPKGVER}_amd64.deb
|
||||||
SPL_DSC = spl-linux_${SPLPKGVER}.dsc
|
SPL_DSC = spl-linux_${SPLPKGVER}.dsc
|
||||||
|
Loading…
Reference in New Issue
Block a user