Bug 571386 - RpmLint should check usage of deprecated egrep/fgrep.
Summary: RpmLint should check usage of deprecated egrep/fgrep.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-08 12:09 UTC by Radek Novacek
Modified: 2016-12-01 00:29 UTC (History)
6 users (show)

Fixed In Version: rpmlint-0.97-1.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-21 21:59:52 UTC


Attachments (Terms of Use)
Proposed patch that adds check of usage egrep and fgrep (1.38 KB, patch)
2010-03-08 12:09 UTC, Radek Novacek
no flags Details | Diff

Description Radek Novacek 2010-03-08 12:09:38 UTC
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.

Comment 1 Ville Skyttä 2010-03-14 15:13:44 UTC
Thanks, different version applied upstream:
http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1741
http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1742

(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.)

Comment 2 Fedora Update System 2010-05-18 20:20:52 UTC
rpmlint-0.97-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/rpmlint-0.97-1.fc13

Comment 3 Fedora Update System 2010-05-18 20:22:08 UTC
rpmlint-0.97-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/rpmlint-0.97-1.fc12

Comment 4 Fedora Update System 2010-05-28 18:03:45 UTC
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.

Comment 5 Fedora Update System 2010-06-04 18:46:46 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.