On 1/7/23 04:25, Brad Bell wrote:
How does one run rpmbuild -ba on the the Pello example in the python
packaging guidelines ?
The Pello.spec file appears under the heading Example spec file at:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_exampl...
In Pello.spec, the following lines appear:
Version: 1.0.3
URL:
https://github.com/fedora-python/Pello
Source: %{url}/archive/v%{version}/Pello-%{version}.tar.gz
This indicates that the web address for the upstream source is
https://github.com/fedora-python/Pello/archive/v1.0.3/Pello-1.0.3.tar.gz
I placed Pello.spec in my SPECS directory, Pello-1.0.3.tar.gz in my
SOURCES directory,
and executed the command
rmpbuild -ba SPECS/Pello.spec
from the rpmbuild directory and got the following result:
... snip ...
Requirement satisfied: setuptools>=42
(installed: setuptools 59.6.0)
Handling wheel from build-system.requires
Requirement not satisfied: wheel
Exiting dependency generation pass: build backend
+ RPM_EC=0
++ jobs -p
+ exit 0
error: Failed build dependencies:
python3dist(wheel) is needed by python-pello-1.0.3-1.fc36.noarch
...
Why not install the dependency that rpmbuild reports is missing?
sudu dnf install 'python3dist(wheel)'
or
sudo dnf builddep SPECS/Pello.spec
Also, this really isn't a question for the packaging list - which is all
about developing guidelines, for more appropriate on the general Fedora
development list.
--
Orion Poplawski
he/him/his - surely the least important thing about me
IT Systems Manager 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301
https://www.nwra.com/