]> thyrsus.com Git - semex.git/commitdiff
Better RPM packaging.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 29 Dec 2003 10:58:11 +0000 (10:58 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 29 Dec 2003 10:58:11 +0000 (10:58 +0000)
Makefile

index 6cda7db6faf5ff6b59d3a0b48935bc9c43c7ac6b..5b6841d3c74dddb9cd493023320f4ad58be62ca8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # semex -- the semaphore exerciser
 
-VERS=1.4
+VERS=$(shell sed <semex.spec -n -e '/Version: \(.*\)/s//\1/p')
 
 semex: semex.c