The number of times this version of the software was released. The upstream version number of the software. The base name of the package, which should match the SPEC file name. The following procedure shows how to patch cello.c using cello-output-first-patch.patch, built the patched program, and run it. For more information, see Section 3.2, “Working with SPEC files”. The original cello.c must be retained, because when an RPM is built, the original file is used, not the modified one. $ diff -Naur cello.c.orig cello.c > cello-output-first-patch.patch r (or -recursive) - Recursively compares any subdirectories that are found.įor more information on common arguments for the diff utility, see the diff manual page. This is an easily readable format that allows fuzzy matching when applying the patch to a changed source tree. -u (or -U NUM or -unified) - Returns output in the form of output NUM (default 3) lines of unified context.As a result, the files that diff classifies as binaries are not ignored.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |