Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations.
With these changes to the spec file, pysolar builds with python3 on Fedora 32 and CentOS 8 (python2 is deprecated, so I didn't bother with it). Except in these systems, I haven't tried in other systems than CentOS 7 where it doesn't build due to missing libraries. It is a bit unclear to me which runtime dependencies pysolar requires (e.g. numpy?). Maybe at least python3 should be added as a Requires to the spec file. If someone knows, I can add it.
With these changes to the spec file, pysolar builds with python3 on Fedora 32 and CentOS 8 (python2 is deprecated, so I didn't bother with it). Except in these systems, I haven't tried in other systems than CentOS 7 where it doesn't build due to missing libraries. It is a bit unclear to me which runtime dependencies pysolar requires (e.g. numpy?). Maybe at least python3 should be added as a Requires to the spec file. If someone knows, I can add it.