Bug 3955 - makerpms.sh doesn't work on RedHat 9
makerpms.sh doesn't work on RedHat 9
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Packaging
3.0.23a
x86 Linux
: P3 normal
: none
Assigned To: Gerald (Jerry) Carter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-24 06:38 UTC by Mogens Kjaer
Modified: 2006-08-08 10:45 UTC (History)
0 users

See Also:


Attachments
Patch to samba-3.0.23a/packaging/RedHat-9/makerpms.sh (724 bytes, patch)
2006-07-24 06:39 UTC, Mogens Kjaer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mogens Kjaer 2006-07-24 06:38:07 UTC
The script

samba-3.0.23a/packaging/RedHat-9/makerpms.sh

doesn't work on a Redhat 9 machine.

It has:

VERSION='3.0.23a'
REVISION='a'

and later:

chown -R ${USERID}.${GRPID} samba-${VERSION}${REVISION}

This would refer to a folder samba-3.0.23aa which doesn't exist.
Comment 1 Mogens Kjaer 2006-07-24 06:39:24 UTC
Created attachment 2055 [details]
Patch to samba-3.0.23a/packaging/RedHat-9/makerpms.sh

The attachment fixes the problem
Comment 2 Gerald (Jerry) Carter 2006-07-24 06:52:42 UTC
Your patch breaks pre and rc releases.  I know about the bug.  
I'll fix it for the next release.
Comment 3 Gerald (Jerry) Carter 2006-08-08 10:45:25 UTC
fixed in 3.0.23b