You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rhn-virtualization/SOURCES/rhn-virtualization-5.4.70-2...

33 lines
975 B

diff --git a/rhn-virtualization.spec b/rhn-virtualization.spec
index 30a6ebc..6829e9f 100644
--- a/rhn-virtualization.spec
+++ b/rhn-virtualization.spec
@@ -2,7 +2,7 @@
%define rhn_conf_dir %{_sysconfdir}/sysconfig/rhn
%define cron_dir %{_sysconfdir}/cron.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
@@ -12,7 +12,7 @@
Name: rhn-virtualization
Summary: RHN/Spacewalk action support for virtualization
Version: 5.4.70
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2
URL: https://github.com/spacewalkproject/spacewalk
@@ -266,6 +266,9 @@ fi
%endif
%changelog
+* Wed Mar 14 2018 Tomas Kasparek <tkasparek@redhat.com> 5.4.70-3
+- build rhn-virtualization for python3 (tkasparek@redhat.com)
+
* Mon Mar 05 2018 Tomas Kasparek <tkasparek@redhat.com> 5.4.70-2
- rebuild for rhel8