Skip to content

Notes on RPM Packaging Guide

Eric Flumerfelt edited this page Jun 17, 2022 · 1 revision

Notes on RPM Packaging Guide

Important installations from guide: gcc rpm-build rpm-devel rpmlint make python bash coreutils diffutils patch rpmdevtools

  • use command: $ yum install … to make commands available (see RHEL 7 RPM Packaging Guide Ch. 1.2 or CLICK HERE)

Patching

  • See p.12 RPM Packaging Guide

What is supposed to be happening here? “To build and run the patched bello” > $ make clean > rm bello > $ make > gcc -o bello bello > $ ./bello > Hello World from my very first patch! h3. The “make clean” isn’t doing anything. The following is the input and resulting output: > [madas@ironwork bello]$ make clean > make: * No rule to make target `clean’. Stop. h3. Seems that since I’m using bash and not c that the patched version will already run with: > ./bello h3. and the original version will have to be accessed with: > ./bello.orig-

Clone this wiki locally