feora and centos fixes
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=308
This commit is contained in:
parent
a626a98e5b
commit
285be07e0e
8
osc.spec
8
osc.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package osc
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
# Copyright (c) 2019 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
|
||||
@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} >= 1500 || 0%{?fedora_version} >= 29
|
||||
%if 0%{?suse_version} >= 1500 || 0%{?fedora_version} >= 29 || 0%{?centos_version} >= 800
|
||||
%bcond_without python3
|
||||
%else
|
||||
%bcond_with python3
|
||||
@ -47,7 +47,7 @@ BuildRequires: diffstat
|
||||
BuildRequires: python-rpm
|
||||
Requires: python-rpm
|
||||
%else
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%if 0%{?suse_version} >= 1500 || 0%{?fedora_version} >= 32 || 0%{?centos_version} >= 800
|
||||
BuildRequires: %{use_python}-rpm
|
||||
Requires: %{use_python}-rpm
|
||||
%else
|
||||
@ -111,7 +111,7 @@ BuildRequires: python-m2crypto > 0.19
|
||||
Requires: python-m2crypto > 0.19
|
||||
%endif
|
||||
%else
|
||||
%if 0%{?fedora_version} >= 29
|
||||
%if 0%{?fedora_version} >= 29 || 0%{?centos_version} >= 800
|
||||
BuildRequires: python3-m2crypto
|
||||
Requires: python3-m2crypto
|
||||
%else
|
||||
|
Loading…
Reference in New Issue
Block a user