Bug #10986 Updated: makerpm script make a wron version no.
| From: | edmund_c at hklc dot com | Date: | Mon, 21 May 2001 07:11:47 +0000 |
| Subject: | Bug #10986 Updated: makerpm script make a wron version no. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56012@lists.php.net to get a copy of this message | ||
ID: 10986
User Update by: edmund_c@hklc.com
Status: Open
Bug Type: Compile Problem
Operating system: redhat 7.1
PHP Version: 4.0.5
Description: makerpm script make a wron version no.
Also need to change:
TAR=php$VERSION.tar.gz
SPEC=php$VERSION.spec
Source0:
http://www.php.net/distributions/php%{PACKAGE_VERSION}.tar.gz
to
TAR=php-$VERSION.tar.gz
SPEC=php-$VERSION.spec
Source0:
http://www.php.net/distributions/php-%{PACKAGE_VERSION}.tar.gz
Previous Comments:
---------------------------------------------------------------------------
[2001-05-21 08:56:43] cardinal@php.net
Reclassifying
---------------------------------------------------------------------------
[2001-05-21 08:51:23] edmund_c@hklc.com
file "makerpm" line 9:
VERSION=${2:-
echo $TARDIR | sed "s/$PREFIX//g"}
always return a version no with "-"
e.g. Building RPM version -4.0.5, release: 2
Suggest Change
VERSION=${2:-echo $TARDIR | sed "s/$PREFIX-//g"}
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10986