]> git.proxmox.com Git - fence-agents-pve.git/blobdiff - Makefile
Update to 4.0.20
[fence-agents-pve.git] / Makefile
index aac3571778fee2e28c63a6b4abfcf4c5524510bb..09ede7bafaff915cb591ddc3585c451a1d5c252a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,13 @@
-RELEASE=3.3
+RELEASE=4.0
 
 # GIT SOURCE: https://git.fedorahosted.org/git/fence-agents.git
 
 PACKAGE=fence-agents-pve
-PKGREL=2
-FAVER=4.0.10
+PKGREL=1
+FAVER=4.0.20
 FADIR=fence-agents-${FAVER}
-FASRC=${FADIR}.tar.xz
+GITHUPSRC=v${FAVER}.tar.gz
+FASRC=${FADIR}.tar.gz
 
 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 GITVERSION:=$(shell cat .git/refs/heads/master)
@@ -29,8 +30,8 @@ ${RHCSRC} download:
        #git clone git://git.fedorahosted.org/fence-agents.git fence-agents.git
        #cd fence-agents.git; ./autogen.sh; ./configure; make dist
        #mv fence-agents.git/fence-agents-*.tar.xz .
-       rm ${FASRC}
-       wget https://fedorahosted.org/releases/f/e/fence-agents/${FASRC}
+       rm -f ${FASRC}
+       wget https://github.com/ClusterLabs/fence-agents/archive/${GITHUPSRC} -O ${FASRC}
 
 .PHONY: upload
 upload: ${DEB}