-RELEASE=4.3
-
-VERSION=4.0
-PKGREL=75
+VERSION=5.0
+PKGREL=29
PACKAGE=libpve-common-perl
PERLDIR=${PREFIX}/share/perl5
ARCH=all
-GITVERSION:=$(shell cat .git/refs/heads/master)
+GITVERSION:=$(shell git rev-parse HEAD)
DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
rsync -a src/ build
rsync -a debian/ build/debian
echo "git clone git://git.proxmox.com/git/pve-common.git\\ngit checkout ${GITVERSION}" > build/debian/SOURCE
- cd build; dpkg-buildpackage -rfakeroot -b -us -uc
+ cd build; dpkg-buildpackage -b -us -uc
lintian ${DEB}
.PHONY: clean
clean:
- rm -rf *~ *.deb *.changes build ${PACKAGE}-*.tar.gz
+ rm -rf *~ *.deb *.changes build ${PACKAGE}-*.tar.gz *.buildinfo
.PHONY: distclean
distclean: clean
.PHONY: upload
upload: ${DEB}
- tar cf - ${DEB}|ssh repoman@repo.proxmox.com upload
+ tar cf - ${DEB}|ssh repoman@repo.proxmox.com -- upload --product pve,pmg --dist stretch