Bug 163710

Summary: unable to rebuild evolution package - bad spec file logic
Product: Red Hat Enterprise Linux 4 Reporter: Eugene Kanter <ekanter>
Component: evolutionAssignee: Dave Malcolm <dmalcolm>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: bnocera
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.0.2-16.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-14 15:33:40 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 Eugene Kanter 2005-07-20 15:57:25 UTC
evolution-2.0.2-16.src.rpm

Description of problem:

evolution has an implicit build dependency on the mozilla package which version
is listed in %define mozilla_build_version x.x.x. However down in BuildRequies
it says

BuildRequires: mozilla-nspr-devel >= 37:%{mozilla_build_version}
BuildRequires: mozilla-nss-devel  >= 37:%{mozilla_build_version}

This means that if mozilla is updated to a next version evolution build will
start but then fail because of 

if [ ! -f /usr/include/mozilla-%{mozilla_build_version}/nspr/nspr.h ]; then
  echo "Unable to find suitable version of mozilla nss to use!"
  exit 1

The spec file must be made flexible enough to avoid the conflict.

Comment 1 Andy Shevchenko 2005-09-23 08:34:03 UTC
2.0.2-16.3 has included that definition.

Dave, why do you not close this bug?


Comment 2 Bastien Nocera 2006-08-14 15:33:40 UTC
Closing as per last comment. Thanks Andy for the notice.