Fixup --with python2 variant

Support for python2 should be removed anyway, but pass compilation for
now.
This commit is contained in:
Petr Menšík 2023-01-25 22:09:19 +01:00
parent e740a0481a
commit 83168d8a60

View File

@ -330,9 +330,9 @@ rm -rf doc/man
%files -n python2-ldns
%doc %{pkgname}_python2/contrib/python/Changelog README.ldnsx
%license LICENSE.ldnsx
%pycached %{python2_sitearch}/%{name}.py
%pycached %{python2_sitearch}/%{name}x.py
%{python3_sitearch}/_%{name}.so*
%{python2_sitearch}/%{name}.py*
%{python2_sitearch}/%{name}x.py*
%{python2_sitearch}/_%{name}.so*
%endif
%if %{with python3}