Re: Compiling RPMS for RedHat 7.3 from CVS Source

Vance Lankhaar <[email protected]>
Newsgroups gmane.network.samba.binaries
Message-ID <[email protected]>
On Sun, 2002-09-08 at 03:20, Buchan Milne wrote:
> On Sun, 8 Sep 2002, Mark Belfanti wrote:

> The makerpms.sh script is meant for use in building RPMS from an official
> source release. I actually don't see makerpms.sh in CVS, only
> makerpms.sh.tmpl, which is a template file, in which the PVERSION and
> PRELEASE variables get replaced for a release.

Take a look at the quick shell script in packaging/bin/. It reads the
.tmpl files and makes them work.

> 
> > 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.
> 
> I have added a makerpms-cvs.sh script to the Mandrake packaging directory,
> and it may just work for the Redhat directory also. 
> >
> > Can you please tell me where I should look, what I can do to work this out.
> >
> 
> Try this (when in the Redhat directory):
> 
> $ cp ../Mandrake/makerpms-cvs.sh .
> $ sh makerpms-cvs.sh 2.2.6
> 
> That *should* build you an RPM with a version of 2.2.6 and a release
> number of 0.<date>, so that you know the date of your cvs snapshot, and
> can easily upgrade to a 1 release.
> 
> I would actually reccomend Mandrake over Redhat for serious samba use (but
> I am biased ;-)).

Let's not get started on this....

Vance
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.