mirror of
https://github.com/apache/httpd.git
synced 2025-08-15 23:27:39 +00:00
Add support for an "epoch" in the RPM spec file. This epoch is a discrete
number used to determine if one RPM is newer than another, which in turn ensures that v1.2.10 is always interpreted as newer than v1.2.9. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@819008 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -48,6 +48,8 @@ elif test "$1" = "major"; then
|
||||
echo ${major}
|
||||
elif test "$1" = "mmn"; then
|
||||
echo ${mmn}
|
||||
elif test "$1" = "epoch"; then
|
||||
printf "%03d" ${major} ${minor} ${patch}
|
||||
elif test "$1" = "libtool"; then
|
||||
# Yes, ${minor}:${patch}:${minor} is correct due to libtool idiocy.
|
||||
echo ${minor}:${patch}:${minor}
|
||||
|
Reference in New Issue
Block a user