Skip to content

Commit 2f230c4

Browse files
ktdreyercrobinso
authored andcommitted
spec: optimize el6 conditional
"%if 0%{?rhel} <= 6" evaluates to "true" on Fedora, since 0 <= 6.
1 parent e0d18c3 commit 2f230c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python-bugzilla.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ BuildArch: noarch
1818
BuildRequires: python2-devel
1919
BuildRequires: python-requests
2020
BuildRequires: python-setuptools
21-
%if 0%{?rhel} <= 6
21+
%if 0%{?el6}
2222
BuildRequires: python-argparse
2323
%endif
2424

@@ -30,7 +30,7 @@ BuildRequires: python3-setuptools
3030

3131
Requires: python-requests
3232
Requires: python-magic
33-
%if 0%{?rhel} <= 6
33+
%if 0%{?el6}
3434
Requires: python-argparse
3535
%endif
3636

0 commit comments

Comments
 (0)