about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index e529f79a..aa491a91 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -37,7 +37,7 @@ srcdoc:
 	${MAKE} -C doc/src srcdoc
 
 rpm: distcheck
-	rpm -ta ngircd-*.tar.gz
+	rpmbuild -ta ngircd-$(VERSION).tar.gz
 
 deb:
 	[ -f debian/rules ] || ln -s contrib/Debian debian