Bug 114417

Summary: Installing dies with strange dependence
Product: [Retired] Red Hat Raw Hide Reporter: Robert Scheck <redhat-bugzilla>
Component: spamassassinAssignee: Chip Turner <cturner>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: mitr
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-02-13 19:07:06 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 Robert Scheck 2004-01-27 21:32:43 UTC
Description of problem:
Mail-SpamAssassin source RPM was correct rebuilded from Fedora 
Development:

--- snipp ---
tux # rpm -Uvh spamassassin-2.63-5.i386.rpm
Error: Failed dependencies:
        /usr/lib/perl5/vendor_perl/5.8.0 is needed by spamassassin-2.63-5
tux # 
tux # file /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl/5.8.0: directory
tux # 
--- snapp ---

Uhm?

Version-Release number of selected component (if applicable):
spamassassin-2.63-5

How reproducible & Steps to Reproduce:
1. Get the latest source RPM
2. rpmbuild -bb [source RPM]
3. rpm -Uvh [new binary RPM]
4. Get the error :-(
  
Actual results:
The problem is caused by the change of the following in the spec
file:

25c25
< Requires: %(perl -le 'use Config; print $Config{archlibexp}')
---
> Requires: %(perl -le 'use Config; print $Config{vendorlibexp}')

Expected results:
Fix the problem, please... :-)

Comment 1 Robert Scheck 2004-02-13 19:07:06 UTC
It's fixed using

Requires: %(perl -le 'use Config; print $Config{sitelibexp}')

Thank you :)