summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--ldetect-lst.spec3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3a93d07b..bbc59d3d 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,8 @@ install: build
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 \
diff --git a/ldetect-lst.spec b/ldetect-lst.spec
index 75558292..ba1c2412 100644
--- a/ldetect-lst.spec
+++ b/ldetect-lst.spec
@@ -1,10 +1,11 @@
%define name ldetect-lst
+%define version 0.1.0
%define release 1mdk
Name: %{name}
Version: %{version}
Release: %{release}
-Summary: Hardware list for the detection library
+Summary: Hardware list for the light detection library
Source: %{name}.tar.bz2
Group: System/Libraries
BuildArchitectures: noarch