Bug 1278066

Summary: [nwchem] make nwchem ExclusiveArch for x86
Product: [Fedora] Fedora Reporter: Rafael Fonseca <rdossant>
Component: nwchemAssignee: marcindulak <Marcin.Dulak>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: Marcin.Dulak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-16 11:00:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765, 1071880, 1051573    
Attachments:
Description Flags
intel exclusive patch none

Description Rafael Fonseca 2015-11-04 16:09:43 UTC
Created attachment 1089753 [details]
intel exclusive patch

Description of problem: nwchem depends on openblas-devel which is ExclusiveArch for intel platforms. Currently, the ppc build is disabled only in Epel whereas it should be always disabled. s390 should also be disabled.

Instead of disabling it for any arch except x86, I changed the spec file to make it ExclusiveArch, resulting in a cleaner spec file.

There is also a conditional the doesn't seem to be doing anything in there

%if 0%{?el6}
%global mpich mpich
%global mpich_load %_mpich_load
%global mpich_unload %_mpich_unload
%else
%global mpich mpich
%global mpich_load %_mpich_load
%global mpich_unload %_mpich_unload
%endif

so I removed it.

The updated spec file is attached.


Version-Release number of selected component (if applicable): 6.5.26243-21


How reproducible: try to build nwchem on ppc, s390, arm or aarch.


Additional info: patch attached.