Bug #10986 Updated: makerpm script make a wron version no.
| From: | sniper@php.net | Date: | Fri, 29 Jun 2001 02:30:20 +0000 |
| Subject: | Bug #10986 Updated: makerpm script make a wron version no. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58416@lists.php.net to get a copy of this message | ||
ID: 10986
Updated by: sniper
Reported By: edmund_c@hklc.com
Old-Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
I made couple of changes to the makerpm script in CVS.
It should work better now.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-05-23 03:51:58] sniper@php.net
reclassified.
---------------------------------------------------------------------------
[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