On 31. 01. 23 13:12, Richard Hughes wrote:
Hey all,
I'm building python-uswid as a rpm as it's going to be needed by the fwupd-efi
package at build time in the near future. I'm also the upstream maintainer, so I'm
not against changing upstream and then tagging a new release if there's something that
needs to be fixed to build a Fedora package. I'm no python expert, so advice very
welcome.
I've uploaded a srpm here and I'd appreciate some early 40,000ft checks before I
submit a Fedora package review:
https://people.freedesktop.org/~hughsient/temp/python-uswid-0.4.1-1.fc37.... -- the
upstream is
https://github.com/hughsie/python-uswid/ for the curious.
Another thing, if you decide not to use the current Packaging guidelines with
automatically generated BuildRequires.
The
https://github.com/hughsie/python-uswid/blob/main/setup.py file has:
from setuptools import setup
And hence the spec file must have:
BuildRequires: python3-setuptools
For %py3_build and %py3_install to work.
Have you tried to build the package?
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok