Browse Source

Add proper (build) dependencies

Alois Mahdal 6 years ago
parent
commit
159a55dcfc
2 changed files with 20 additions and 4 deletions
  1. 13
    2
      packaging/debian/control
  2. 7
    2
      packaging/template.spec

+ 13
- 2
packaging/debian/control View File

@@ -4,11 +4,22 @@ Vcs-Browser: __MKIT_PROJ_VCS_BROWSER__
4 4
 Section: misc
5 5
 Priority: extra
6 6
 Standards-Version: 3.9.2
7
-Build-Depends: debhelper (>= 9)
7
+Build-Depends:
8
+ debhelper (>= 9),
9
+ shellfu (>= 0.10),
10
+ shellfu-bash,
11
+ shellfu-bash-inigrep,
12
+ shellfu-bash-pretty,
13
+ shellfu-sh-exit
8 14
 
9 15
 Package: __MKIT_PROJ_PKGNAME__
10 16
 Architecture: all
11
-Depends: bash, shellfu-bash, shellfu-bash-inigrep, shellfu-bash-pretty, shellfu-sh-exit
17
+Depends:
18
+ shellfu (>= 0.10),
19
+ shellfu-bash,
20
+ shellfu-bash-inigrep,
21
+ shellfu-bash-pretty,
22
+ shellfu-sh-exit
12 23
 Description: __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
13 24
  saturnin is Shellfu library that helps you easily build toolkit from
14 25
  various scripts that you may have lying around.  Instead of having a

+ 7
- 2
packaging/template.spec View File

@@ -7,8 +7,13 @@ License:	GPLv2
7 7
 Source0:	%{name}-%{version}.tar.gz
8 8
 
9 9
 BuildArch:	noarch
10
-BuildRequires:	coreutils git
11
-Requires:	shellfu-bash => 0.10.0-1
10
+BuildRequires:	coreutils
11
+BuildRequires:	shellfu => 0.10.0-1
12
+BuildRequires:	shellfu-bash-inigrep
13
+BuildRequires:	shellfu-bash-pretty
14
+BuildRequires:	shellfu-sh-exit
15
+Requires:	shellfu => 0.10.0-1
16
+Requires:	shellfu-bash
12 17
 Requires:	shellfu-bash-inigrep
13 18
 Requires:	shellfu-bash-pretty
14 19
 Requires:	shellfu-sh-exit