php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #10986 makerpm script make a wron version no.
Submitted: 2001-05-21 08:51 UTC Modified: 2001-06-28 22:30 UTC
From: edmund_c at hklc dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.5 OS: redhat 7.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: edmund_c at hklc dot com
New email:
PHP Version: OS:

 

 [2001-05-21 08:51 UTC] edmund_c at hklc dot 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"`}

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-21 08:56 UTC] cardinal@php.net
Reclassifying
 [2001-05-21 09:11 UTC] edmund_c at hklc dot 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-23 03:51 UTC] sniper@php.net
reclassified. 
 [2001-06-28 22:30 UTC] sniper@php.net
I made couple of changes to the makerpm script in CVS.
It should work better now. 

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 01:01:30 2025 UTC