diff --git a/osc.changes b/osc.changes index 8c6e193..54da179 100644 --- a/osc.changes +++ b/osc.changes @@ -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 diff --git a/osc.spec b/osc.spec index 838b335..4c0db2a 100644 --- a/osc.spec +++ b/osc.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ Name: osc Version: 0.162.1 Release: 0 Summary: Open Build Service Commander -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Tools/Other Url: https://github.com/openSUSE/osc Source: %{name}-%{version}.tar.gz @@ -43,6 +43,11 @@ Requires: rpm-python %endif # %if 0%{?suse_version} +%if 0%{?suse_version} >= 1500 +Requires: python2 +%else +Requires: python +%endif %if 0%{?suse_version} < 1020 BuildRequires: python-elementtree Requires: python-elementtree