From 51c259f9a64882203fab04656926c5cfd195043d Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Sep 29 2017 14:59:45 +0000 Subject: Cleanup spec file conditionals --- diff --git a/python-flake8.spec b/python-flake8.spec index 4d45606..804d6e0 100644 --- a/python-flake8.spec +++ b/python-flake8.spec @@ -1,6 +1,6 @@ -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %bcond_without python3 -%if 0%{?fedora} > 26 +%if 0%{?fedora} > 26 || 0%{?rhel} > 7 %global defaultpython 3 %else %global defaultpython 2 @@ -18,7 +18,7 @@ Name: python-%{modname} Version: 3.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python code checking using pyflakes, pycodestyle, and mccabe License: MIT @@ -164,6 +164,9 @@ ln -s flake8-%{defaultpython} %{buildroot}%{_bindir}/flake8 %changelog +* Fri Sep 29 2017 Troy Dawson - 3.4.1-2 +- Cleanup spec file conditionals + * Fri Jul 28 2017 Ville Skyttä - 3.4.1-1 - Update to 3.4.1