Skip to content

Commit

Permalink
pyliblzma is only needed in python2 as it is part of python3 base
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalmer committed Jan 5, 2019
1 parent 150cd0f commit 51ef0a6
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions backend/spacewalk-backend.spec
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ Requires: python3-rhnlib >= 2.5.74
%else
Requires: python2-rhnlib >= 2.5.74
Requires: %{name}-libs >= %{version}
%endif
# for Debian support
Requires: %{python_prefix}-debian
%if 0%{?suse_version} > 1320
%if 0%{?suse_version}
Requires: python-pyliblzma
%else
%if 0%{?rhel} || 0%{?suse_version} >= 1315
%if 0%{?rhel}
Requires: pyliblzma
%endif # %if 0%{?rhel} || 0%{?suse_version} >= 1315
%endif # 0%{?suse_version} > 1320
%endif # %if 0%{?rhel}
%endif # 0%{?suse_version}
%endif # 0%{?build_py3}
# for Debian support
Requires: %{python_prefix}-debian
%if 0%{?pylint_check}
%if 0%{?build_py3}
BuildRequires: spacewalk-python3-pylint
Expand Down Expand Up @@ -436,20 +436,20 @@ Requires: python3-rhn-client-tools
Requires: python-dateutil
Requires: python2-gzipstream
Requires: python2-rhn-client-tools
%endif
Requires: spacewalk-admin >= 0.1.1-0
Requires: spacewalk-certs-tools
%if 0%{?suse_version}
Requires: apache2-prefork
Requires: susemanager-tools
%endif
%if 0%{?suse_version} > 1320
Requires: python-pyliblzma
%else
%if 0%{?fedora} || 0%{?rhel} > 6
Requires: pyliblzma
%endif # 0%{?fedora} || 0%{?rhel} > 6
%endif # 0%{?suse_version} > 1320
%endif # 0%{?suse_version}
%endif # 0%{?build_py3}
Requires: spacewalk-admin >= 0.1.1-0
Requires: spacewalk-certs-tools
%if 0%{?suse_version}
Requires: apache2-prefork
Requires: susemanager-tools
%endif
%if 0%{?fedora} || 0%{?rhel}
Requires: mod_ssl
Requires: python2-devel
Expand Down

0 comments on commit 51ef0a6

Please sign in to comment.