RPM build
James Kosin
jkosin at beta.intcomgrp.com
Wed May 4 14:28:31 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Shahzad Chohan wrote:
|Hi
|
|I'm trying to insert a patch into a rpm spec file. I've read some
|guides on teh net but I'm still not able to install a patch into the
|rpm. What occurs once I have built the rpm is that particular file has
|all the diff changed in it instead of the diff changes being applied
|to the file. I'm baffled as to what is happening.
|
|Any help would be much appreciated.
|
|Many Thanks
|Shahzad
|
Shahzad,
I think we need more information:
~ (1) What does the patch file look like?
~ (2) Be sure you created the patch file with 'diff -urNp' or simular.
~ (3) In the %prep seciton you have the ':patchxx -p1' command,
where xx is the number you assigned to the patch.
~ (4) After the Sources you have a Patchxx: <patch-file-name>,
again where xx is the uniuqe patch number and <patch-file-name> is the
patch file name located in the SOURCES directory.
Can you send a small snippet of the diff file (patch file), the
relavent change you made to the .spec file? This information would be
very valuable in helping.
James Kosin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCeNwPkNLDmnu1kSkRAhfiAJ9tPvmR4c6DRk6qs6DC6biMR4TZbgCdG5+H
yexMyIQ0ZJ8wDj/I8mVIA+U=
=At+H
-----END PGP SIGNATURE-----
More information about the users
mailing list