浏览代码

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

Alois Mahdal 6 年前
父节点
当前提交
5771d62d86
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      packaging/template.spec

+ 1
- 1
packaging/template.spec 查看文件

@@ -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