Accepting request 994527 from home:dmach:branches:openSUSE:Tools
- fix building on distros that are not openSUSE or SLE OBS-URL: https://build.opensuse.org/request/show/994527 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=369
This commit is contained in:
parent
7c4397e1f8
commit
6cea7d1951
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 11 11:38:19 UTC 2022 - Daniel Mach <daniel.mach@suse.com>
|
||||||
|
|
||||||
|
- fix building on distros that are not openSUSE or SLE
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 4 08:31:49 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Thu Aug 4 08:31:49 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
8
osc.spec
8
osc.spec
@ -21,16 +21,20 @@
|
|||||||
%else
|
%else
|
||||||
%bcond_with python3
|
%bcond_with python3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
%if 0%{?suse_version} >= 1500
|
|
||||||
%define use_python python3
|
%define use_python python3
|
||||||
%define use_pythonpkg python3
|
%define use_pythonpkg python3
|
||||||
%else
|
%if 0%{?suse_version} && 0%{?suse_version} < 1500
|
||||||
%define use_python python3.6
|
%define use_python python3.6
|
||||||
%define use_pythonpkg python36
|
%define use_pythonpkg python36
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# else if with python3
|
||||||
%else
|
%else
|
||||||
%define use_python python
|
%define use_python python
|
||||||
|
%define use_pythonpkg python
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define version_unconverted 0.181.0
|
%define version_unconverted 0.181.0
|
||||||
|
Loading…
Reference in New Issue
Block a user