1
0
forked from pool/osc

- add Requires: python2 / python for Leap and Tumbleweed.

Otherwise just python-base is installed which does not contain ssl.py
  [bnc#1097996]

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=265
This commit is contained in:
Marco Strigl 2018-06-29 07:28:51 +00:00 committed by Git OBS Bridge
parent 79dfc87e11
commit d031bf30bc
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jun 29 07:23:57 UTC 2018 - marco.strigl@suse.com
- add Requires: python2 / python for Leap and Tumbleweed.
Otherwise just python-base is installed which does not contain ssl.py
[bnc#1097996]
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 5 13:41:04 UTC 2017 - marco.strigl@suse.com Tue Dec 5 13:41:04 UTC 2017 - marco.strigl@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package osc # spec file for package osc
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -24,7 +24,7 @@ Name: osc
Version: 0.162.1 Version: 0.162.1
Release: 0 Release: 0
Summary: Open Build Service Commander Summary: Open Build Service Commander
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Development/Tools/Other Group: Development/Tools/Other
Url: https://github.com/openSUSE/osc Url: https://github.com/openSUSE/osc
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
@ -43,6 +43,11 @@ Requires: rpm-python
%endif %endif
# #
%if 0%{?suse_version} %if 0%{?suse_version}
%if 0%{?suse_version} >= 1500
Requires: python2
%else
Requires: python
%endif
%if 0%{?suse_version} < 1020 %if 0%{?suse_version} < 1020
BuildRequires: python-elementtree BuildRequires: python-elementtree
Requires: python-elementtree Requires: python-elementtree