Closed elfurbe closed 1 year ago
Apologies... Github was not sending me alerts for issues and pull requests on this repo. I did not see this until just now.
Is this still relevant? I'm working through some backlog.
Check out commit 8718165d
as I just updated the .spec
file and it builds on my Rocky 8 system now. If there is more needed please re-open this PR.
ISSUE TYPE
DSTAT VERSION
SUMMARY
Adds a working spec file for building RPM packages on/for EL7. As EL7 and EL8 (and likely SLE) have different versions of python available, I do not think a single spec file will work for all of them. On EL7 dool is well served by python3 3.6.x, so that's the requirement I included in the spec along with the python36 version of six. I've also incremented the dool version number and added a line to the changelog to indicate the release date. I've also removed the BuildRequires option as it does not appear anything else is required on EL7 beyond what is necessary for rpmbuild to function.
I tested this spec file on a CentOS 7 host. The rpmbuild worked as expected, the resulting RPM requested the correct dependencies for a yum install, and dool works after the package is installed.