Browse Source

Apply the RHEL<=7 condition for python reqs only on RHEL-like systems

Alois Mahdal 6 years ago
parent
commit
5771d62d86
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      packaging/template.spec

+ 1
- 1
packaging/template.spec View File

@@ -1,7 +1,7 @@
1 1
 %global sfincb %{_datadir}/shellfu/include-bash
2 2
 %global sfmodn __SHELLFU_MODNAME__
3 3
 %global shellfu_req shellfu >= 0.10.4, shellfu < 0.11
4
-%if 0%{?rhel} <= 7
4
+%if 0%{?rhel} && 0%{?rhel} <= 7
5 5
 %global py_req     python
6 6
 %global pylibs_req python-libs
7 7
 %else