- Timestamp:
- 07/11/15 23:29:33 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r189 r190 1094 1094 $pkgdata{main}{recommends} .= ", $1"; 1095 1095 warn "Warning: Debian-specific 'Recommends:' outside \%if wrapper\n" if $iflevel == 0; 1096 # As of sometime between RHEL 6 and RHEL 7 or so, support was added for Recommends: and Enhances:, 1097 # along with shiny new tag Supplements:. We'll continue to warn about them for a while. 1096 1098 } elsif (/^suggests:\s*(.+)/i) { 1097 1099 $pkgdata{main}{suggests} .= ", $1"; 1098 warn "Warning: Debian-specific'Suggests:' outside \%if wrapper\n" if $iflevel == 0;1100 warn "Warning: 'Suggests:' outside \%if wrapper\n" if $iflevel == 0; 1099 1101 } elsif (/^enhances:\s*(.+)/i) { 1100 1102 $pkgdata{main}{enhances} .= ", $1"; 1101 warn "Warning: Debian-specific 'Enhances:' outside \%if wrapper\n" if $iflevel == 0; 1103 warn "Warning: 'Enhances:' outside \%if wrapper\n" if $iflevel == 0; 1104 } elsif (/^supplements:\s*(.+)/i) { 1105 $pkgdata{main}{enhances} .= ", $1"; 1106 warn "Warning: 'Supplements:' is not natively supported by .deb packages. Downgrading relationship to Enhances:.\n"; 1102 1107 } elsif (/^replaces:\s*(.+)/i) { 1103 1108 $pkgdata{main}{replaces} .= ", $1"; 1104 warn "Warning: Debian-specific 'Replaces:' outside \%if wrapper\n" if $iflevel == 0; 1109 warn "Warning: 'Replaces:' outside \%if wrapper\n" if $iflevel == 0; 1110 } elsif (/^obsoletes:\s*(.+)/i) { 1111 $pkgdata{main}{replaces} .= ", $1"; 1105 1112 } elsif (/^autoreq(?:prov)?:\s*(.+)/i) { 1106 1113 # we don't handle auto-provides (yet)
Note:
See TracChangeset
for help on using the changeset viewer.