Browse Source

Fix typo in global macro name

Alois Mahdal 6 years ago
parent
commit
9b18a0eed5
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      packaging/template.spec

+ 4
- 4
packaging/template.spec View File

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