Signed-off-by: Holmes Wang <[email protected]>
---
 mic2.spec  |    2 +-
 release.sh |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/mic2.spec b/mic2.spec
index c31545c..85ce0da 100644
--- a/mic2.spec
+++ b/mic2.spec
@@ -1,7 +1,7 @@
 
 Summary: Tools for building images for Moblin
 Name: mic2
-Version: 0.8
+Version: 0.9
 Release: 1
 License: GPLv2
 Group: System Environment/Base
diff --git a/release.sh b/release.sh
index dcaae1f..6273400 100755
--- a/release.sh
+++ b/release.sh
@@ -69,6 +69,7 @@ create_rpm() {
 
     git archive --format=tar --prefix=${PKGNAME}-${VERSION}/ ${TREE} | bzip2 
-9 > \
                     
/tmp/rpm_mic_packaging/SOURCES/${PKGNAME}-${VERSION}.tar.bz2
+    sed -i "s/^Version:.*$/Version: $VERSION/" mic2.spec
     rpmbuild -ba mic2.spec --clean --define "_topdir /tmp/rpm_mic_packaging"
     find /tmp/rpm_mic_packaging -name '*.rpm' -exec mv {} $DISTDIR/ \;
 
-- 
1.6.0.6

_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to