]> git.proxmox.com Git - fence-agents-pve.git/blobdiff - Makefile
fix Error in fencing_snmp.py on line 73
[fence-agents-pve.git] / Makefile
index fe5d04045a8592dbf368120cc0174d393dada85a..6a5c445e02521898c6f20fa15fd3ccd8e13db283 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
-RELEASE=2.0
+RELEASE=3.0
 
 PACKAGE=fence-agents-pve
-PKGREL=2
-FAVER=3.1.7
-FADIR=fence-agents-${FAVER}.11-d264
+PKGREL=1
+FAVER=4.0.0
+FADIR=fence-agents-${FAVER}
 FASRC=${FADIR}.tar.gz
 
-
-DEB=${PACKAGE}_${FAVER}-${PKGREL}_amd64.deb
+ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB=${PACKAGE}_${FAVER}-${PKGREL}_${ARCH}.deb
 
 all: ${DEB}
 
@@ -17,7 +17,7 @@ ${DEB} deb: ${FASRC}
        cp -av debian ${FADIR}/debian
        cat ${FADIR}/doc/COPYRIGHT >>${FADIR}/debian/copyright
        cd ${FADIR}; dpkg-buildpackage -rfakeroot -b -us -uc
-       lintian ${DEB}
+       lintian -X copyright-file ${DEB}
 
 ${RHCSRC} download:
        rm -rf fence-agents.git