summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-09-10 16:46:09 +1000
committerAmitay Isaacs <amitay@gmail.com>2012-09-10 16:46:09 +1000
commit1afcc660ab59858329fe66f5889449efe6559e20 (patch)
treef78593d366f0f24a4ba997cf486a82bc00c99f95 /Makefile
parent4884bbfabee3605e737ae31c9aa1c4be10b8c911 (diff)
downloadautocluster-1afcc660ab59858329fe66f5889449efe6559e20.tar.gz
autocluster-1afcc660ab59858329fe66f5889449efe6559e20.tar.xz
autocluster-1afcc660ab59858329fe66f5889449efe6559e20.zip
packaging: rpmbuild does not like '-' in version, replace it with '_'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 85bf8c4..45dff40 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-version=$$(git describe | sed -e 's@autocluster-@@')
+version=$$(git describe | sed -e 's@autocluster-@@' -e 's@-@_@g')
prefix = /usr/local
datadir = ${prefix}/share/autocluster