rhncfg/SOURCES/rhncfg-5.10.120-6-el8-to-rh...

39 lines
1.0 KiB
Diff

diff --git a/rhncfg.spec b/rhncfg.spec
index 1b9003b..54b6050 100644
--- a/rhncfg.spec
+++ b/rhncfg.spec
@@ -15,7 +15,7 @@
Name: rhncfg
Version: 5.10.120
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Spacewalk Configuration Client Libraries
License: GPLv2
URL: https://github.com/spacewalkproject/spacewalk
@@ -28,10 +28,10 @@ Requires: %{pythonX}-%{name} = %{version}-%{release}
# provide rhn directories and no selinux on suse
BuildRequires: rhn-client-tools
%else
-%if 0%{?build_py2}
-Requires: libselinux-python
-%else
+%if 0%{?default_py3}
Requires: python3-libselinux
+%else
+Requires: libselinux-python
%endif
%endif
@@ -281,6 +281,10 @@ fi
%endif
%changelog
+* Tue Jul 24 2018 Tomas Kasparek <tkasparek@redhat.com> 5.10.120-7
+- Resolves: #1601754 - require python3 version of dependencies on systems with
+ default py3 (tkasparek@redhat.com)
+
* Mon May 14 2018 Tomas Kasparek <tkasparek@redhat.com> 5.10.120-6
- Resolves: #1577138 - when loading a file take into account if it's binary or
not (tkasparek@redhat.com)