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

33 lines
853 B
Diff

diff --git a/rhncfg.spec b/rhncfg.spec
index c6006c4..1078816 100644
--- a/rhncfg.spec
+++ b/rhncfg.spec
@@ -2,7 +2,7 @@
%global rhnconf %{_sysconfdir}/sysconfig/rhn
%global client_caps_dir %{rhnconf}/clientCaps.d
-%if 0%{?fedora} || 0%{?suse_version} > 1320
+%if 0%{?fedora} || 0%{?suse_version} > 1320 || 0%{?rhel} >= 8
%global build_py3 1
%global default_py3 1
%endif
@@ -11,7 +11,7 @@
Name: rhncfg
Version: 5.10.120
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Spacewalk Configuration Client Libraries
License: GPLv2
URL: https://github.com/spacewalkproject/spacewalk
@@ -255,6 +255,9 @@ fi
%endif
%changelog
+* Wed Mar 14 2018 Tomas Kasparek <tkasparek@redhat.com> 5.10.120-3
+- build rhncfg for python3 (tkasparek@redhat.com)
+
* Mon Mar 05 2018 Tomas Kasparek <tkasparek@redhat.com> 5.10.120-2
- rebuild for rhel8