Description of problem: GeographicLib is available from PyPI [1], which means that other packages rely on its metadata to exist. The python3-GeographicLib Fedora package does _not_ provide this metadata and this means the automatic Provides are not added. This causes issues for consumers of this package (e.g., python-geopy, bug 1723052) because python3.7dist(geographiclib) is not provided by this package. Version-Release number of selected component (if applicable): 1.49-8.fc31 Steps to Reproduce: 1. Create a Python 3 package that depends on GeographicLib (e.g., python-geopy, bug 1723052). 2. Automatic Requires will be added on python3.7dist(geographiclib) Actual results: The produced python3-geopy cannot be installed because its automatic Requires on python3.7dist(geographiclib) cannot be fulfilled. Expected results: python3-GeographicLib is installed as a dependency of python3-geopy. Additional info: [1] https://pypi.org/project/geographiclib/
The reason is GeographicLib doesn't use setuptools but installs the module by cmake.
I just tweaked the spec to use the %py3_build/%py3_install macros and it seems to work and generate the correct Provides: $ rpm -q --provides ./noarch/python3-GeographicLib-1.49-8.fc31.noarch.rpm python3-GeographicLib = 1.49-8.fc31 python3.7dist(geographiclib) = 1.49 python3dist(geographiclib) = 1.49 I'll get the updates out to rawhide and f30 tomorrow.
FEDORA-2019-9af4ea608b has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-9af4ea608b
FEDORA-2019-17548c0c7d has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-17548c0c7d
GeographicLib-1.49-9.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-9af4ea608b
GeographicLib-1.49-5.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-17548c0c7d
GeographicLib-1.49-9.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
GeographicLib-1.49-5.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.