[uwsgi] Breaking up full version in 3 parts

Jorge A Gallegos kad at fedoraproject.org
Sun Oct 20 06:11:46 UTC 2013


commit 5693898a00c16be8421f30ffab35859101c5713b
Author: Jorge Gallegos <kad at fedoraproject.org>
Date:   Sat Oct 19 11:01:41 2013 -0700

    Breaking up full version in 3 parts
    
    Uwsgi is now using security patch numbering, which means more bits to
    be added to the version string

 uwsgi.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/uwsgi.spec b/uwsgi.spec
index 6714f11..4bc70a4 100644
--- a/uwsgi.spec
+++ b/uwsgi.spec
@@ -1,4 +1,8 @@
-#Documentation sources:
+# Version
+%global majornumber 1.9
+%global minornumber 18
+%global patchnumber .2
+# Documentation sources:
 %global commit b86b3f7f183f90d874c8586d369c8cecc4347121
 %global shortcommit %(c=%{commit}; echo ${c:0:7})
 %global docrepo uwsgi-docs
@@ -6,7 +10,7 @@
 %{!?_httpd_moddir:    %{expand: %%global _httpd_moddir    %%{_libdir}/httpd/modules}}
 
 Name:           uwsgi
-Version:        1.9.18.2
+Version:        %{majornumber}.%{minornumber}%{?patchnumber}
 Release:        0%{dist}
 Summary:        Fast, self-healing, application container server
 Group:          System Environment/Daemons   


More information about the scm-commits mailing list