fix python3 conditional

This commit is contained in:
Karsten Hopp 2018-01-15 15:10:52 +01:00
parent 21c51c4c42
commit 18202d2d81

View File

@ -1,4 +1,4 @@
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} > 7
%bcond_without python3
%else
%bcond_with python3
@ -16,7 +16,7 @@
Name: rpmlint
Version: 1.10
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Tool for checking common errors in RPM packages
Group: Development/Tools
License: GPLv2
@ -127,6 +127,9 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8}
%{_mandir}/man1/rpmlint.1*
%changelog
* Mon Jan 15 2018 Karsten Hopp <karsten@redhat.com> - 1.10-6
- fix python3 conditional
* Sun Oct 29 2017 Tom Callaway <spot@fedoraproject.org> - 1.10-5
- ignore common jargon words in spellcheck