It's simple, but it's enough to demonstrate packaging. This creates a shell script called hello.sh, which prints "Hello world" to the terminal. You're now familiar with what each directory holds, so now create a simple script to distribute: $ cat > hello.sh src.rpm package is very flexible, because it can be built and re-built on every other RPM-based distribution and architecture. A Source RPM package doesn't belong to an architecture or distribution. spec file defines how a package is built. This can be a simple script, a complex C project that needs to be compiled, a pre-compiled program, etc.
0 Comments
Leave a Reply. |