[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: building own RPMs



On Sat, 2004-12-25 at 11:21 -0500, Matthew Miller wrote:

> A few key tips: 
>  
>   - don't build as root -- set up the ~/rpmbuild thing instead

Why is it so? What's wrong about building rpms as root? 

>   - make as few changes as possible from the original RPM; this'll make
>     your life easier later.

Well, I think patching is nicer. Create always a patch using diff tool
and add it to a spec file. 

>   - put your own 'tag' in the release field. For example, if the release
>     of the package is '3', make yours "3msilber1", and the next version
>     "3msilber2". (And don't be afraid to increment that number even when
>     your changes are tiny -- you're not going to run out of integers, and
>     having separately-named files is handy.)
> 
> -- 
> Matthew Miller           mattdm mattdm org        <http://www.mattdm.org/>
> Boston University Linux      ------>                <http://linux.bu.edu/>
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]