Compiling RPMS for RedHat 7.3 from CVS Source

Mark Belfanti <[email protected]>
Newsgroups gmane.network.samba.binaries
Message-ID <[email protected]>
Hi all,
To start I am still very new to samba and this is my first attempt to 
build RPMS from the CVS source. I am trying to use the script you have 
in /packaging/Redhat.
I keep getting an error that samba-PVERSION cant be found, see below:

[root@LSALNXS01 RedHat]# pwd  /usr/src/samba/packaging/RedHat
[root@LSALNXS01 RedHat]# sh makerpms.sh
chown: getting attributes of `samba-PVERSION': No such file or directory
tar: samba-PVERSION/samba2.*.spec: Cannot stat: No such file or directory
tar: samba-PVERSION: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)

I am not really sure where or how the PVERSION variable gets set. I 
assume that it is a file somewhere stating the current build version or 
what it should be
Do I have to edit something somewhere to make this work? I have looked 
through the newsgroups, RTFM etc but can't see anything to point me in 
the right direction.

Can you please tell me where I should look, what I can do to work this out.

Thanks,
Mark
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.