> the author was analysing trying to build a binary package directly.
To analyse, there's two approaches that have been well documented for around 20 years now:
- open the .src.rpm for a package
- Run the rpm binary over the .rpm, which can dump spec file contents too
To build:
- Make a spec file
Again, there's lots to dislike about RPM (my main issue is how the sections are macros and so are the autoconf macros), which confused a lot of new people) but this article in incredibly unresearched.