浏览代码

Move %define's to top of the SPEC file

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

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

@@ -1,3 +1,7 @@
1
+%define sfincb %{_datadir}/shellfu/include-bash
2
+%define sfmodn __SHELLFU_MODNAME__
3
+%define shellfu_req shellfu >= 0.10.4, shellfu < 0.11
4
+
1 5
 Name:       __MKIT_PROJ_PKGNAME__
2 6
 Version:    __MKIT_PROJ_VERSION__
3 7
 Release:    1%{?dist}
@@ -5,10 +9,6 @@ Summary:    __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
5 9
 URL:        __MKIT_PROJ_VCS_BROWSER__
6 10
 License:    LGPLv2
7 11
 
8
-%define sfincb %{_datadir}/shellfu/include-bash
9
-%define sfmodn __SHELLFU_MODNAME__
10
-%define shellfu_req shellfu >= 0.10.4, shellfu < 0.11
11
-
12 12
 Source0:        %{name}-%{version}.tar.gz
13 13
 BuildArch:      noarch
14 14
 BuildRequires:  %shellfu_req