浏览代码

Prefer %global over %define

As Fedora Package Guidelines say:

    https://fedoraproject.org/wiki/Packaging:Guidelines#.25global_preferred_over_.25define
Alois Mahdal 6 年前
父节点
当前提交
8a613391bb
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      packaging/template.spec

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

@@ -1,6 +1,6 @@
1
-%define sfincb %{_datadir}/shellfu/include-bash
2
-%define sfmodn __SHELLFU_MODNAME__
3
-%define shellfu_req shellfu >= 0.10.4, shellfu < 0.11
1
+%global sfincb %{_datadir}/shellfu/include-bash
2
+%global sfmodn __SHELLFU_MODNAME__
3
+%global shellfu_req shellfu >= 0.10.4, shellfu < 0.11
4 4
 
5 5
 Name:       __MKIT_PROJ_PKGNAME__
6 6
 Version:    __MKIT_PROJ_VERSION__