Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 36185 invoked from network); 5 Jun 2010 14:11:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Jun 2010 14:11:09 -0000 Received: (qmail 97607 invoked by uid 500); 5 Jun 2010 14:11:09 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 97546 invoked by uid 500); 5 Jun 2010 14:11:08 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 97538 invoked by uid 99); 5 Jun 2010 14:11:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jun 2010 14:11:08 +0000 X-ASF-Spam-Status: No, hits=-1700.4 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jun 2010 14:11:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B194523888E8; Sat, 5 Jun 2010 14:10:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r951722 - /httpd/httpd/trunk/build/get-version.sh Date: Sat, 05 Jun 2010 14:10:47 -0000 To: cvs@httpd.apache.org From: minfrin@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100605141047.B194523888E8@eris.apache.org> Author: minfrin Date: Sat Jun 5 14:10:47 2010 New Revision: 951722 URL: http://svn.apache.org/viewvc?rev=951722&view=rev Log: Reduce the length of our generated RPM epoch number, as epoch numbers are limited to 32 bits. Modified: httpd/httpd/trunk/build/get-version.sh Modified: httpd/httpd/trunk/build/get-version.sh URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/build/get-version.sh?rev=951722&r1=951721&r2=951722&view=diff ============================================================================== --- httpd/httpd/trunk/build/get-version.sh (original) +++ httpd/httpd/trunk/build/get-version.sh Sat Jun 5 14:10:47 2010 @@ -49,7 +49,7 @@ elif test "$1" = "major"; then elif test "$1" = "mmn"; then echo ${mmn} elif test "$1" = "epoch"; then - printf "%03d" ${major} ${minor} ${patch} + printf "%02d%02d%03d" ${major} ${minor} ${patch} elif test "$1" = "libtool"; then # Yes, ${minor}:${patch}:${minor} is correct due to libtool idiocy. echo ${minor}:${patch}:${minor}