Red Hat Bugzilla – Bug 571386
RpmLint should check usage of deprecated egrep/fgrep.
Last modified: 2016-11-30 19:29:06 EST
Created attachment 398511 [details]
Proposed patch that adds check of usage egrep and fgrep
egrep and fgrep command is deprecated and grep -E/-F should be used instead. Rpmlint should warn packager that he is using deprecated commands.
Thanks, different version applied upstream:
(The patch in initial comment incorrectly used sec instead of current_section, had some depecated vs deprecated typos, checked for sections that didn't exist yet, and wasn't too strict about finding egrep and fgrep strings.)
rpmlint-0.97-1.fc13 has been submitted as an update for Fedora 13.
rpmlint-0.97-1.fc12 has been submitted as an update for Fedora 12.
rpmlint-0.97-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
rpmlint-0.97-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.