On 29. 06. 20 23:12, Miro Hrončok wrote:
%files -n python3-dns-lexicon
%{python3_stielib}/lexicon/dns_lexicon-%{version}-py%{python3_version}.egg-info/
%{python3_stielib}/lexicon/
%pycached %exclude %{python3_stielib}/lexicon/lexicon/providers/transip.py
%files -n python3-dns-lexicon+transip
%pycached %{python3_stielib}/lexicon/lexicon/providers/transip.py
With https://fedoraproject.org/wiki/Changes/PythonExtras you would also add:
%ghost
%{python3_stielib}/lexicon/dns_lexicon-%{version}-py%{python3_version}.egg-info
to the +transip subpackage.
However, that might confuse the current dependency generator to provide
python3dist(dns-lexicon) from it. If it does, you can guard it via:
%{?python_extras_subpkg:%ghost ...}
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
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/python-devel@lists.fedoraproject.org