diff --git a/rhnpush.spec b/rhnpush.spec index 5a17935b5c..0a6da49618 100644 --- a/rhnpush.spec +++ b/rhnpush.spec @@ -1,6 +1,6 @@ %{!?pylint_check: %global pylint_check 0} -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} >= 8 %global build_py3 1 %global default_py3 1 %endif @@ -12,7 +12,7 @@ Summary: Package uploader for the Spacewalk or Red Hat Satellite Server License: GPLv2 URL: https://github.com/spacewalkproject/spacewalk Version: 5.5.110 -Release: 3%{?dist} +Release: 4%{?dist} Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz BuildArch: noarch Requires: %{pythonX}-%{name} = %{version}-%{release} @@ -109,6 +109,9 @@ spacewalk-python2-pylint $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{python_sitel %endif %changelog +* Wed Mar 14 2018 Tomas Kasparek 5.5.110-4 +- build for python3 (tkasparek@redhat.com) + * Thu Mar 08 2018 Tomas Kasparek 5.5.110-3 - disable pylint checks (tkasparek@redhat.com)