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