On Thu, Jun 25, 2020 at 9:51 AM Richard Hughes <hughsient@xxxxxxxxx> wrote: > > Hi all, > > In fwupd we ship 4 *tiny* python scripts that are useful for ODMs and > other people working with low level firmware blobs. In > https://src.fedoraproject.org/rpms/fwupd/pull-request/2 it was > suggested we split them off as a subpackage to avoid the > /usr/bin/python3 dep which is unwanted on CoreOS. It does seem a bit > crazy to split off a subpackage when the rpm header will be bigger > than the contents. Given these are such small files and certainly not > warranting dragging python3 onto the image, I did hope I could use > %{?python_disable_dependency_generator} to tell rpmbuild to basically > ignore the .py files and not add a /usr/bin/python3 dep on my package > automatically. Unfortunately that seems not to work. Ideas welcome, > thanks! > I'd suggest using the dependency filtering feature in RPM: https://docs.fedoraproject.org/en-US/packaging-guidelines/AutoProvidesAndRequiresFiltering/ -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx