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
This commit is contained in:
Jorge Gallegos 2013-10-19 11:01:41 -07:00
parent 04a7166fc6
commit 5693898a00
1 changed files with 6 additions and 2 deletions

View File

@ -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