[lug] rpm rebuild with patch
hugh at brownclan.org
Wed Mar 21 06:54:28 MST 2001
Somewhat unrelated, I was reconfiguring imapd from the redhat src rpm
and they were doing some patching to the imap Makefile with the program
patch. I think there was a command in the spec file that caused the
patch to happen.
Sorry, too tired to go and look to see exactly what happened.
"D. Stimits" wrote:
> I'm trying to get some crypto patches in, and wanted to apply this
> through rpm instead of removing the rpm and installing pure tarball.
> Basically, I'm wondering what the best way would be to apply a patch to
> a source rpm so that it could be rebuilt in its original name (or some
> patchlevel to)? What I am thinking is possibly this:
> 1) Do initial rpm --rebuild.
> 2) Get the tarball created from the rebuild in the /usr/src/redhat/
> 3) patch that tarball and re-tar it and place it back into the
> /usr/src/redhat/ area.
> 4) Somehow rebuild without it overwriting the tarball.
> This of course depends on the rpm being created from the spec and the
> tarball. There is probably something much simpler, but what would people
> here recommend so I can install my patched items as an rpm?
> D. Stimits, stimits at idcomm.com
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG