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 6 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,9 +12,10 @@ Build-Depends:
12 12
 Package: __MKIT_PROJ_PKGNAME__
13 13
 Architecture: all
14 14
 Depends:
15
- source-highlight,
16 15
  perl,
17 16
  procps,
17
+Suggests:
18
+ source-highlight,
18 19
 Description: __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
19 20
  Shellfu is an attempt to add modularity to your shell scripts.
20 21
  .

+ 0
- 1
packaging/template.spec View File

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