Browse Source

Add proper (build) dependencies

Alois Mahdal 7 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
 Section: misc
4
 Section: misc
5
 Priority: extra
5
 Priority: extra
6
 Standards-Version: 3.9.2
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
 Package: __MKIT_PROJ_PKGNAME__
15
 Package: __MKIT_PROJ_PKGNAME__
10
 Architecture: all
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
 Description: __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
23
 Description: __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
13
  saturnin is Shellfu library that helps you easily build toolkit from
24
  saturnin is Shellfu library that helps you easily build toolkit from
14
  various scripts that you may have lying around.  Instead of having a
25
  various scripts that you may have lying around.  Instead of having a

+ 7
- 2
packaging/template.spec View File

7
 Source0:	%{name}-%{version}.tar.gz
7
 Source0:	%{name}-%{version}.tar.gz
8
 
8
 
9
 BuildArch:	noarch
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
 Requires:	shellfu-bash-inigrep
17
 Requires:	shellfu-bash-inigrep
13
 Requires:	shellfu-bash-pretty
18
 Requires:	shellfu-bash-pretty
14
 Requires:	shellfu-sh-exit
19
 Requires:	shellfu-sh-exit