On 8 Sep 2002, Vance Lankhaar wrote:

> > Try this (when in the Redhat directory):
> > 
> > $ cp ../Mandrake/makerpms-cvs.sh .
> > $ sh makerpms-cvs.sh 2.2.6

This won't work I don't think.  IIRC the makerpms.s script for the redhat 
stuff checks for dependencies on different RPM versions...

This is what I used to create build scripts when I need them out
of cvs...

------cut here--------------------------------
#!/bin/sh

TEMPLATES="makerpms.sh.tmpl samba2.spec.tmpl samba2-devel.spec.tmpl"

if [ ! "$2" ]; then
        echo "Usage: $0 <version> <release>"
        exit 1;
fi

for file in $TEMPLATES; do

        newfile=`echo $file | sed 's/.tmpl//'`
        echo Creating $newfile...
        cat $file | sed "s/PVERSION/$1/g" | sed "s/PRELEASE/$2/g" > 
$newfile

done
------cut here--------------------------------



> > I would actually reccomend Mandrake over Redhat for serious samba use (but
> > I am biased ;-)).
> 
> Let's not get started on this....

Now Vance....be nice :-)  Buchan is entitled to his own opinion ;)





cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

Reply via email to