Update CI to simulate scratch RPM build
This MR updates the CI workflow in an attempt to better simulate a 'production' RPM build. The workflow now separately builds the following
- the tarball
- the source RPM (SRPM)
- the binary RPMs
and also adds an rpmlint
job to assess the 'quality' of the RPM packaging.
The purpose of this is to try and catch as many possible integration issues as possible in CI. Things like missing dependencies will not be caught if the build is not performed in a pristine build environment, etc.
I have added one or two other commits to address some of the issues raised by rpmlint
, and have opened some tickets along the way.