瀏覽代碼

Fix typo in global macro name

Alois Mahdal 6 年之前
父節點
當前提交
9b18a0eed5
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. 4
    4
      packaging/template.spec

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

@@ -2,10 +2,10 @@
2 2
 %global sfmodn __SHELLFU_MODNAME__
3 3
 %global shellfu_req shellfu >= 0.10.4, shellfu < 0.11
4 4
 %if 0%{?rhel} <= 7
5
-%global py_eq     python
5
+%global py_req     python
6 6
 %global pylibs_req python-libs
7 7
 %else
8
-%global py_eq     python3
8
+%global py_req     python3
9 9
 %global pylibs_req python3-libs
10 10
 %endif
11 11
 
@@ -19,13 +19,13 @@ Source0:    %{name}-%{version}.tar.gz
19 19
 BuildArch:  noarch
20 20
 BuildRequires: %shellfu_req
21 21
 BuildRequires: perl
22
-BuildRequires: %py_eq
22
+BuildRequires: %py_req
23 23
 BuildRequires: %pylibs_req
24 24
 BuildRequires: shellfu-bash-pretty
25 25
 
26 26
 Requires: %shellfu_req
27 27
 Requires: perl
28
-Requires: %py_eq
28
+Requires: %py_req
29 29
 Requires: %pylibs_req
30 30
 Requires: shellfu-bash
31 31
 Requires: shellfu-bash-pretty