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-custom-info/SOURCES/rhn-custom-info-5.4.42-2-el...

29 lines
897 B

diff --git a/rhn-custom-info.spec b/rhn-custom-info.spec
index 26a3838..72b046c 100644
--- a/rhn-custom-info.spec
+++ b/rhn-custom-info.spec
@@ -1,11 +1,11 @@
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 8
%global build_py3 1
%endif
Name: rhn-custom-info
Summary: Set and list custom values for RHN-enabled machines
Version: 5.4.42
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2
Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz
URL: https://github.com/spacewalkproject/spacewalk
@@ -59,6 +59,9 @@ install -m 644 rhn-custom-info.8 $RPM_BUILD_ROOT%{_mandir}/man8/
%{_mandir}/man8/rhn-custom-info.*
%changelog
+* Wed Mar 14 2018 Tomas Kasparek <tkasparek@redhat.com> 5.4.42-3
+- build rhn-custom-info for python3 (tkasparek@redhat.com)
+
* Mon Mar 05 2018 Tomas Kasparek <tkasparek@redhat.com> 5.4.42-2
- rebuild for rhel8