浏览代码

Move %define's to top of the SPEC file

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

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

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
 Name:       __MKIT_PROJ_PKGNAME__
5
 Name:       __MKIT_PROJ_PKGNAME__
2
 Version:    __MKIT_PROJ_VERSION__
6
 Version:    __MKIT_PROJ_VERSION__
3
 Release:    1%{?dist}
7
 Release:    1%{?dist}
5
 URL:        __MKIT_PROJ_VCS_BROWSER__
9
 URL:        __MKIT_PROJ_VCS_BROWSER__
6
 License:    LGPLv2
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
 Source0:        %{name}-%{version}.tar.gz
12
 Source0:        %{name}-%{version}.tar.gz
13
 BuildArch:      noarch
13
 BuildArch:      noarch
14
 BuildRequires:  %shellfu_req
14
 BuildRequires:  %shellfu_req