Accepting request 542074 from home:mimi_vx:branches:KDE:Qt5
- fix have_python conditions OBS-URL: https://build.opensuse.org/request/show/542074 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python-sip?expand=0&rev=13
This commit is contained in:
parent
f79a221de1
commit
f2fbb7d8ce
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 15 14:11:50 UTC 2017 - mimi.vx@gmail.com
|
||||
|
||||
- fix have_python conditions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 28 21:03:01 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -145,14 +145,14 @@ mkdir -p %{buildroot}/%{_sysconfdir}/rpm/
|
||||
|
||||
echo "%%python_sip_api_ver %{python_sip_api}" > %{buildroot}/%{_sysconfdir}/rpm/macros.python_all-sip
|
||||
|
||||
%if 0%{have_python2}
|
||||
%if 0%{?have_python2}
|
||||
echo "%%requires_python2_sip_api Requires: %{python2_prefix}-sip(api) = %%python_sip_api_ver" > %{buildroot}/%{_sysconfdir}/rpm/macros.%{python2_prefix}-sip
|
||||
echo "%%requires_python_sip_api Requires: %{python2_prefix}-sip(api) = %%python_sip_api_ver" >> %{buildroot}/%{_sysconfdir}/rpm/macros.%{python2_prefix}-sip
|
||||
|
||||
%py_compile %{buildroot}%{python2_sitearch}
|
||||
%endif
|
||||
|
||||
%if 0%{have_python3}
|
||||
%if 0%{?have_python3}
|
||||
echo "%%requires_python3_sip_api Requires: %{python3_prefix}-sip(api) = %%python_sip_api_ver" > %{buildroot}/%{_sysconfdir}/rpm/macros.%{python3_prefix}-sip
|
||||
|
||||
%py3_compile %{buildroot}%{python3_sitearch}
|
||||
|
Loading…
Reference in New Issue
Block a user