summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-04-06 19:18:21 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-04-06 19:18:21 +0000
commit15bfb4766a462fe43a8bd6580b7e454e79ba34d6 (patch)
treedd3e6536c9c31efc750264d1233d02451cd71676
parentbaaf473becfd78d1d54f42cfe6d8b5f1dbb2a006 (diff)
downloadmgaonline-15bfb4766a462fe43a8bd6580b7e454e79ba34d6.tar
mgaonline-15bfb4766a462fe43a8bd6580b7e454e79ba34d6.tar.gz
mgaonline-15bfb4766a462fe43a8bd6580b7e454e79ba34d6.tar.bz2
mgaonline-15bfb4766a462fe43a8bd6580b7e454e79ba34d6.tar.xz
mgaonline-15bfb4766a462fe43a8bd6580b7e454e79ba34d6.zip
autoset the version of the applet from the package version & release
-rw-r--r--mdkonline.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdkonline.spec b/mdkonline.spec
index d1e449c1..57ed63a2 100644
--- a/mdkonline.spec
+++ b/mdkonline.spec
@@ -40,6 +40,7 @@ The package include :
%setup -q
%build
+perl -pi -e 's!my \$ver = 1;!my \$ver = '"'%version-%release'"';!' mdkapplet
%install
rm -rf $RPM_BUILD_ROOT