File project.diff of Package python-sip
--- python-sip.changes.orig
+++ python-sip.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Fri Sep 25 13:03:36 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>
+
+- have_python? doesn't prevent us from having python? skipped
+
+-------------------------------------------------------------------
Thu Aug 27 19:26:56 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to 4.19.24
--- python-sip.spec.orig
+++ python-sip.spec
@@ -193,14 +193,14 @@ mkdir -p %{buildroot}%{_rpmconfigdir}/ma
echo "%%python_sip_api_ver %{python_sip_api}" > %{buildroot}%{_rpmconfigdir}/macros.d/macros.python_all-sip
-%if 0%{?have_python2}
+%if ! 0%{?skip_python2}
echo "%%requires_python2_sip_api Requires: %{python2_prefix}-sip(api) = %%python_sip_api_ver" > %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{python2_prefix}-sip
echo "%%requires_python_sip_api Requires: %{python2_prefix}-sip(api) = %%python_sip_api_ver" >> %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{python2_prefix}-sip
%py_compile %{buildroot}%{python2_sitearch}
%endif
-%if 0%{?have_python3}
+%if ! 0%{?skip_python3}
echo "%%requires_python3_sip_api Requires: %{python3_prefix}-sip(api) = %%python_sip_api_ver" > %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{python3_prefix}-sip
%py3_compile %{buildroot}%{python3_sitearch}