diff --git a/python-dns.spec b/python-dns.spec index 1ebafbc..4d56328 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -83,31 +83,33 @@ pytest -k "not test_override" -k "not testCanonicalNameDangling" %files -n python3-%{py_package_name} %license LICENSE %doc README.md examples -%{?python_extras_subpkg:%pycached %exclude %{python3_sitelib}/dns/_trio_backend.py} -%{?python_extras_subpkg:%pycached %exclude %{python3_sitelib}/dns/_curio_backend.py} +%{?python_extras_subpkg: +%pycached %exclude %{python3_sitelib}/dns/_trio_backend.py +%pycached %exclude %{python3_sitelib}/dns/_curio_backend.py +} %{python3_sitelib}/%{py_package_name} %{python3_sitelib}/%{pypi_name}-*.egg-info -%{?python_extras_subpkg:%python_extras_subpkg -n python3-dns -i %{python3_sitelib}/*.egg-info dnssec idna} +%{?python_extras_subpkg: +%python_extras_subpkg -n python3-dns -i %{python3_sitelib}/*.egg-info dnssec idna %if %{with doh} -%{?python_extras_subpkg:%python_extras_subpkg -n python3-dns -i %{python3_sitelib}/*.egg-info doh} +%python_extras_subpkg -n python3-dns -i %{python3_sitelib}/*.egg-info doh %endif %if %{with trio} -%{?python_extras_subpkg: %python_extras_subpkg -n python3-dns -i %{python3_sitelib}/*.egg-info trio %pycached %{python3_sitelib}/dns/_trio_backend.py -} %endif %if %{with curio} -%{?python_extras_subpkg: %python_extras_subpkg -n python3-dns -i %{python3_sitelib}/*.egg-info curio %pycached %{python3_sitelib}/dns/_curio_backend.py -} %endif +# end of python_extras_subpkg +} + %changelog * Tue Mar 09 2021 Christian Heimes - 2.1.0-3 - Add bconds for extras require trio, curio, and doh