|
@@ -5,18 +5,20 @@ Summary: __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
|
5
|
5
|
URL: __MKIT_PROJ_VCS_BROWSER__
|
6
|
6
|
License: LGPLv2
|
7
|
7
|
|
8
|
|
-Source0: %{name}-%{version}.tar.gz
|
9
|
|
-BuildArch: noarch
|
|
8
|
+%define sfincb %{_datadir}/shellfu/include-bash
|
|
9
|
+%define sfmodn __SHELLFU_MODNAME__
|
|
10
|
+%define shellfu_req shellfu >= 0.10.4, shellfu < 0.11
|
10
|
11
|
|
|
12
|
+Source0: %{name}-%{version}.tar.gz
|
|
13
|
+BuildArch: noarch
|
|
14
|
+BuildRequires: %shellfu_req
|
11
|
15
|
BuildRequires: python
|
12
|
16
|
BuildRequires: python-libs
|
13
|
|
-BuildRequires: shellfu => 0.10
|
14
|
|
-BuildRequires: shellfu < 0.11
|
15
|
17
|
BuildRequires: shellfu-bash-pretty
|
|
18
|
+
|
|
19
|
+Requires: %shellfu_req
|
16
|
20
|
Requires: python
|
17
|
21
|
Requires: python-libs
|
18
|
|
-Requires: shellfu => 0.10
|
19
|
|
-Requires: shellfu < 0.11
|
20
|
22
|
Requires: shellfu-bash
|
21
|
23
|
Requires: shellfu-bash-pretty
|
22
|
24
|
|
|
@@ -42,7 +44,7 @@ make test \
|
42
|
44
|
|
43
|
45
|
%files
|
44
|
46
|
%doc %{_docdir}/%{name}/README.md
|
45
|
|
-%{_datadir}/shellfu/include-bash/uripecker.sh
|
|
47
|
+%{sfincb}/%{sfmodn}.sh
|
46
|
48
|
|
47
|
49
|
|
48
|
50
|
%changelog
|