[openstack-nova/el6-essex: 2/4] provide the package version from `nova-manage version`

Pádraig Brady pbrady at fedoraproject.org
Tue Jan 29 17:44:44 UTC 2013


commit 30446c88f4e6881a904bef407d8cf824dcc33fa6
Author: Pádraig Brady <P at draigBrady.com>
Date:   Wed Dec 12 16:25:18 2012 +0000

    provide the package version from `nova-manage version`
    
    Conflicts:
    
    	openstack-nova.spec

 openstack-nova.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/openstack-nova.spec b/openstack-nova.spec
index d668581..4f7bd23 100644
--- a/openstack-nova.spec
+++ b/openstack-nova.spec
@@ -390,6 +390,8 @@ find . \( -name .gitignore -o -name .placeholder \) -delete
 
 find nova -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} +
 
+sed -i s/LOCALBRANCH:LOCALREVISION/%{release}/ nova/version.py
+
 %build
 %{__python} setup.py build
 


More information about the scm-commits mailing list