Clean RPM issues noticed in Robinhood packaging
Clean RPM issues noticed in Robinhood packaging. The issues pointed out:
- the Hestia RPM has no dependency
- there is no devel package specified in the specfile
- the Hestia-devel package on the gitlab does no depend on Hestia
- the debug package are not generated
- the spec file description is incorrect
- the install part of the spec file does not install anything
- if we try to re-build the rpm using the specfile, the package "perl(FindBin)" is missing
- the packages have been built for a specific version of openssl (1.1 iirc) which is obsolete
- the CPACK options for the build section are invalid, as the paths are not generic and do not use the rpmbuild macros
- there is no "files" section, meaning no files are contained in the package
- the ldconfig was not done, so the ".conf" files were not used
- the changelog is not filed with your input
Step through the one they've passed on to try to understand the changes. Make sure it will work ok with CMake, which automatically generates several of the fields. Check the Openssl version too. The RPM bundles it so we can run with low dependencies on DEEP, but if it goes into a repo it should use whatever is provided by the repo.
https://drive.google.com/drive/folders/1qadmn2IVCWmVB-wsZJRZIly78m-KWyrD?usp=sharing
Edited by Buket Benek Gursoy