Re: building own RPMs

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

 



On Sat, Dec 25, 2004 at 03:18:43PM +0100, msilber wrote:
> I need to build an own RPM package from my apache source, how can I do
> that? Found nothing about this in the Web! I know the rpmbuild command,
> but I can only build RPMs from src.rpms or prepared tarballs! HELP!
> Please! :-?

Start with the existing httpd source rpm, and modify that for your needs.
There isn't very good documentation, but you'll find some at
<http://www.rpm.org/>.

A few key tips: 
 
  - don't build as root -- set up the ~/rpmbuild thing instead
  - make as few changes as possible from the original RPM; this'll make
    your life easier later.
  - 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@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux