Browse Source

Move %define's to top of the SPEC file

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

+ 4
- 4
packaging/template.spec View File

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