Skip to content.

UPR HPCf

Sections
Personal tools
You are here: Home » Members » humberto's Home » Test ZWiki » HowToMakeSendmailRPM
Views

HowToMakeSendmailRPM

last edited 6 years ago by cheo

-- Main.JoseOrtiz? - 03 Apr 2003

1) Go to /usr/src/redhat/SPECS/
2) Open sendmail.spec
3) Add a line with the new patch name acording to the sendmail version being patched.
Example: Patch12: prescan.8.11.6.patch
4) Under the descriptions section add a line %patch12 -p0 with the number of the patch to be applied. In this example 12.
5) Copy the patch source under /usr/src/redhat/SOURCES
6) Run rpmbuild -bs path/to/sendmail.spec for a source rpm or run rpmbuild --bb path/to/sendmail.spec for a binary rpm.
7)Install the rpms under /usr/src/redhat/RPMS or /usr/src/redhat/SRPMS

 

Powered by Plone

This site conforms to the following standards: