From 9b3e34da78b5589635548e89899463838efeb561 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 15 Dec 2000 15:25:11 +0000 Subject: put the version in .spec too, otherwise can't use rpm C-c e :) --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e2b5af3..0300022 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,8 @@ install: build install libldetect.h $(includedir) rpm: clean $(RPM) + perl -pi -e "s/^(%define version).*/\1 $(version)/" $(project).spec + (echo "# !! DON'T MODIFY HERE, MODIFY IN THE CVS !!" ; \ echo "%define version $(version)" ; \ cat $(project).spec \ -- cgit v1.2.1