Bug #10986 Updated: makerpm script make a wron version no.

From: Date: Wed, 23 May 2001 01:51:58 +0000
Subject: Bug #10986 Updated: makerpm script make a wron version no.
Groups: php.dev 
Request: Send a blank email to php-dev+get-56404@lists.php.net to get a copy of this message
ID: 10986 Updated by: sniper Reported By: edmund_c@hklc.com Status: Open Old-Bug Type: Compile Problem Bug Type: Feature/Change Request Operating system: PHP Version: 4.0.5 Assigned To: Comments: reclassified. Previous Comments: --------------------------------------------------------------------------- [2001-05-21 09:11:47] edmund_c@hklc.com 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 --------------------------------------------------------------------------- [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"} --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10986&edit=2

« previous php.dev (#56404) next »