diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template
index fe313af8aa8..2bfb96e44ec 100644
--- a/srcpkgs/slurm-wlm/template
+++ b/srcpkgs/slurm-wlm/template
@@ -1,9 +1,9 @@
 # Template file for 'slurm-wlm'
 pkgname=slurm-wlm
 version=15.08.10.1
-revision=1
-_version="${version//./-}"
-wrksrc="slurm-slurm-${_version}"
+revision=2
+_distver="${version//./-}"
+wrksrc="slurm-slurm-${_distver}"
 build_style=gnu-configure
 configure_args="--disable-static"
 hostmakedepends="perl cgit python pkg-config"
@@ -14,7 +14,7 @@ short_desc="Workload manager for Linux clusters of all sizes"
 maintainer="Toyam Cox <Vaelatern@gmail.com>"
 license="GPL-2"
 homepage="http://slurm.schedmd.com/slurm.html"
-distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_version}.tar.gz"
+distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
 checksum=96e0a4604e8903cd086e5adf7dbfbab3e2ac1d750e1bd4695afd008811cb30b6
 case "${XBPS_TARGET_MACHINE}" in
 	# Undefined: inet_nsap_addr and getgrent_r