Hello,
I'm trying to build a fedora package for EPEL8 on Copr and I'm wondering
where its pikepdf dependency is coming from.
I conditionally disable the python dependency generator with a 0%{?epel}
guard
(cf.
https://github.com/gsauthof/copr-fedora/blob/c4bf0d2031b529e637d085a84837325dde36f1c2/python-img2pdf/python-img2pdf.spec#L62-L72
):
%if 0%{?epel} == 0
# this is basically equivalent to adding Requires: for
# pikepdf
# pillow
#
# the generator is enabled by default, since f30 or so
%{?python_enable_dependency_generator}
%else
%{?python_disable_dependency_generator}
Requires: python3-pillow
%endif
The guard seems to work (because e.g. the in the same way disabled tests
aren't executed, as I can see from the build.log.
However, the final rpm package still depends on pikepdf:
python3.6dist(pikepdf)
(cf. the end of
https://download.copr.fedorainfracloud.org/results/gsauthof/fedora/epel-8-x86_64/01843500-python-img2pdf/build.log.gz
)
Thus, it looks like disabling the dependency generator with the
python_disable_dependency_generator macro didn't work?
Best regards
Georg
--
'There have been no suggestions that Jay-Z's fellow rapper 50
Cent could be considering a move into a different currency.'
(Rapper Jay-Z dissing the dollar. 2007,
http://news.bbc.co.uk/2/hi/7097736.stm )
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]