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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 17:01:31 2024 UTC