Brook wanted! (was: Re: Re[6]: [bt-devel] CALL FOR TESTING)

Brook Humphrey bt-devel@crosswire.org
Thu, 4 Apr 2002 12:14:18 -0800


On Thursday 04 April 2002 12:03 pm, you wrote:
> > Ok I don't mind doing this but I don't really know how to use cvs. I can
> > download the source tree and update it but I don't know how to make
> > changes and upload them.
> >
> > If you want to show me how I will try or I can post my send my spec file
> > as an atachment
>
> Well. You need to checkout using your sf user identity and ssh. Then you
> can just edit the files. A "cvs commit" will upload the changes.
> But sending them here as attachments is fine, since those are only 2 small
> files.
>
> > Do you have your system set up to compile rpm's as user and not root?
>
> I don't know, probably not. What do I need to do? A rpm config file
> specifying another rpmbuilddir?
You are using suse correct? I'm not exactly sure on suse but in your home 
dirrectory you should have 2 files .rpmrc and .rpmmacros

This is my .rpmrc. Yours will probably not look like this because mandrake is 
setup to compile for multiple systems. Yours if you used one whouls probably 
have : i386 at the end of all the lines.

[webmedic@server webmedic]$ cat .rpmrc
buildarchtranslate: i386: i586
buildarchtranslate: i486: i586
buildarchtranslate: i586: i586
buildarchtranslate: i686: i686
buildarchtranslate: athlon: athlon
#buildarchtranslate: i686: athlon
#buildarchtranslate: k6: athlon
#buildarchtranslate: 586: athlon

This is my .rpmmacros file.


[webmedic@server webmedic]$ cat .rpmmacros
%_topdir                /home/webmedic/RPM
%_tmppath               /home/webmedic/RPM/TMP
%_signature             gpg
%_gpg_name              Brook Humphrey
%_gpg_path              ~/.gnupg
%distribution           Mandrake Linux
%vendor                 MandrakeSoft

You whould need to change these to fit your settings

After you do this create 
RPM
RPM/TMP
RPM/BUILD
RPM/RPMS
RPM/RPMS/i386
RPM/RPMS/noarch
RPM/SOURCES
RPM/SPECS
RPM/SRPMS

With these directories you can then install srpm's into your home directory 
and compile them whithout having to su to root. 

When you recompile the rpms they will be in RPM/RPMS/i386 and RPM/SRPMS in 
your home directory.

Did I explain clear enough? I'm not to good at explaining things. If you have 
any more questions let me know.

>
> Martin

-- 
 -~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-
                                      Brook Humphrey           
        Mobile PC Medic, 420 1st, Cheney, WA 99004, 509-235-9107        
http://www.webmedic.net, bah@webmedic.net, bah@linux-mandrake.com   
                                 Holiness unto the Lord
 -~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-