modify dev version and spec
authoryang.zhang <y0169.zhang@samsung.com>
Tue, 23 Feb 2016 07:29:17 +0000 (15:29 +0800)
committeryang.zhang <y0169.zhang@samsung.com>
Mon, 29 Feb 2016 08:52:42 +0000 (16:52 +0800)
Change-Id: I6ce7848983b9da65e42d91fbd05d6f3466446d93

packaging/repa.spec
repa/main.py
setup.py

index 40fe3ad..a5a4253 100644 (file)
@@ -28,10 +28,10 @@ in easy and flexible manner
 %setup -q
 
 %build
-python ./setup.py build
+%{__python} ./setup.py build
 
 %install
-python ./setup.py install --root=%{buildroot} --prefix=%{_prefix}
+%{__python} ./setup.py install --root=%{buildroot} --prefix=%{_prefix}
 
 %clean
 rm -rf %{buildroot}
index 10a0144..b27945c 100755 (executable)
@@ -57,7 +57,7 @@ def parse_args(argv):
         ArgumentParser(prog='repa',
                        description='Release Engineering Process Assistant')
     parser.add_argument('--version', action='version',
-                        version='%(prog)s version 0.4.0.dev.0.0')
+                        version='%(prog)s version 0.4')
     parser.add_argument('-s', '--section', default='general',
                         help='config section to use')
     parser.add_argument('-p', '--project', help='target project',
index 4f056ef..1a2e747 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,7 @@ import os
 from setuptools import setup
 
 setup(name="repa",
-      version='0.4.0.dev.0.0',
+      version='0.4',
       author='Ed Bartosh',
       author_email='eduard.bartosh@intel.com',
       packages=['repa'],