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