diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-12-15 15:25:11 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-12-15 15:25:11 +0000 |
commit | 9b3e34da78b5589635548e89899463838efeb561 (patch) | |
tree | d95354b39df9ef46a3c0d2777a7f97b90c76f0ef | |
parent | 58dab80c5625896156e4d31fb39778556c88eb32 (diff) | |
download | ldetect-9b3e34da78b5589635548e89899463838efeb561.tar ldetect-9b3e34da78b5589635548e89899463838efeb561.tar.gz ldetect-9b3e34da78b5589635548e89899463838efeb561.tar.bz2 ldetect-9b3e34da78b5589635548e89899463838efeb561.tar.xz ldetect-9b3e34da78b5589635548e89899463838efeb561.zip |
put the version in .spec too, otherwise can't use rpm C-c e :)
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | ldetect.spec | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -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 \ diff --git a/ldetect.spec b/ldetect.spec index e665a9c..5672aa1 100644 --- a/ldetect.spec +++ b/ldetect.spec @@ -1,4 +1,5 @@ %define name ldetect +%define version 0.2.0 %define release 1mdk Name: %{name} @@ -7,7 +8,6 @@ Release: %{release} Summary: Light hardware detection library Source: %{name}.tar.bz2 Group: System/Libraries -BuildArchitectures: noarch BuildRoot: %{_tmppath}/%{name}-buildroot Copyright: GPL Prefix: %{_prefix} @@ -46,5 +46,5 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/* %changelog -* Fri Dec 15 2000 Pixel <pixel@mandrakesoft.com> 0.1.0-1mdk +* Fri Dec 15 2000 Pixel <pixel@mandrakesoft.com> 0.2.0-1mdk - first release |