Browse Source

Do not require source-highlight

source-highlight is not necessary (-s|--src will fall back to plain text
if it's missing) and requiring it strictly breaks RHEL6 build.

deb users can follow Suggests field; rpm users will have to find out about
it and install it separately.  (Optional requires do exist in newer RPM,
but it's not worth the effort/ifdef bloat.)
Alois Mahdal 7 years ago
parent
commit
a004546b1b
2 changed files with 2 additions and 2 deletions
  1. 2
    1
      packaging/debian/control
  2. 0
    1
      packaging/template.spec

+ 2
- 1
packaging/debian/control View File

12
 Package: __MKIT_PROJ_PKGNAME__
12
 Package: __MKIT_PROJ_PKGNAME__
13
 Architecture: all
13
 Architecture: all
14
 Depends:
14
 Depends:
15
- source-highlight,
16
  perl,
15
  perl,
17
  procps,
16
  procps,
17
+Suggests:
18
+ source-highlight,
18
 Description: __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
19
 Description: __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
19
  Shellfu is an attempt to add modularity to your shell scripts.
20
  Shellfu is an attempt to add modularity to your shell scripts.
20
  .
21
  .

+ 0
- 1
packaging/template.spec View File

16
 BuildRequires:  %{pspkg}
16
 BuildRequires:  %{pspkg}
17
 
17
 
18
 Requires: %{pspkg}
18
 Requires: %{pspkg}
19
-Requires: source-highlight
20
 %description
19
 %description
21
 Shellfu is an attempt to add modularity to your shell scripts.
20
 Shellfu is an attempt to add modularity to your shell scripts.
22
 
21