Bug 188969

Summary: groff-perl has broken dependency on /usr/local/bin/perl
Product: Red Hat Enterprise Linux 3 Reporter: Mark Heffernan <meheff>
Component: groffAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-14 06:41:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mark Heffernan 2006-04-14 00:07:36 UTC
Description of problem:
The groff-perl package built from the RPM groff-1.18.1-27.src.rpm depends on
/usr/local/bin/perl which doesn't appear to be provided by anything.  Probably
should be /usr/bin/perl.

Version-Release number of selected component (if applicable):
groff-1.18.1-27

How reproducible:
Very

Steps to Reproduce:
1. Install source rpm groff-1.18.1-27.src.rpm from Red Hat Network
2. build rpms with "build -bb groff-1.18.spec".  Builds four groff-* packages
   including groff-perl
3. Try to install groff-perl.
  
Actual results:
Fails because of dependency on /usr/local/sbin/perl:

# rpm -iv groff-perl-1.18.1-27.i386.rpm
error: Failed dependencies:
        /usr/local/bin/perl is needed by groff-perl-1.18.1-27

Expected results:


Additional info:

Comment 1 Mark Heffernan 2006-04-14 00:31:45 UTC
.. not a bug.  During rpm build, /usr/local/bin/perl was picked up as the perl
location.  /usr/local/bin/perl was then required to install rpm.  Made sure
/usr/local/bin was not in path when building rpm, and rpm works fine.