Blame SOURCES/rhnlib-2.8.6-2-el8-to-rhnlib-2.8.6-3-el8.patch

fe4262
diff --git a/rhnlib.spec b/rhnlib.spec
fe4262
index 16e901c..f5eb7fd 100644
fe4262
--- a/rhnlib.spec
fe4262
+++ b/rhnlib.spec
fe4262
@@ -1,4 +1,4 @@
fe4262
-%if 0%{?fedora} || 0%{?suse_version} > 1320
fe4262
+%if 0%{?fedora} || 0%{?suse_version} > 1320 || 0%{?rhel} >= 8
fe4262
 %global build_py3   1
fe4262
 %endif
fe4262
 
fe4262
@@ -7,7 +7,7 @@
fe4262
 Summary: Python libraries for the Spacewalk project
fe4262
 Name: rhnlib
fe4262
 Version: 2.8.6
fe4262
-Release: 2%{?dist}
fe4262
+Release: 3%{?dist}
fe4262
 URL:     https://github.com/spacewalkproject/spacewalk
fe4262
 Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz
fe4262
 
fe4262
@@ -87,6 +87,9 @@ make -f Makefile.rhnlib
fe4262
 %endif
fe4262
 
fe4262
 %changelog
fe4262
+* Tue Feb 20 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.6-3
fe4262
+- rhel8 utilizes python3 (tkasparek@redhat.com)
fe4262
+
fe4262
 * Mon Feb 19 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.6-2
fe4262
 - rebuild for rhel8
fe4262