From fd2b6332a5abc028ac05406543c9c115171fa37d Mon Sep 17 00:00:00 2001 From: Lukas Holecek Date: Jan 12 2021 09:01:37 +0000 Subject: Fix rpmlint error Fixes: waiverdb.spec: E: specfile-error warning: extra tokens at the end of %else directive in line 21: %else # EPEL7 uses Python 2 and python- package naming convention 0 packages and 1 specfiles checked; 1 errors, 0 warnings. --- diff --git a/waiverdb.spec b/waiverdb.spec index 946de9f..ccb59da 100644 --- a/waiverdb.spec +++ b/waiverdb.spec @@ -20,7 +20,8 @@ BuildArch: noarch %if 0%{?fedora} || 0%{?rhel} > 7 BuildRequires: python3-devel BuildRequires: python3-setuptools -%else # EPEL7 uses Python 2 and python- package naming convention +%else +# EPEL7 uses Python 2 and python- package naming convention BuildRequires: python2-devel BuildRequires: python-setuptools %endif