[CentOS] Is there a way to _remove_ dependencies from an RPM built from source?

Frank Cox theatre at melvilletheatre.com
Sun Feb 26 19:05:49 UTC 2012


On Sun, 26 Feb 2012 19:45:54 +0100
Michael Lampe wrote:

> I'm building my own openmpi packages derived from upstream SRPMs.
> 
> Problem: The ones built with Intel's compiler can only be installed by 
> force, because Intel doesn't register their provided libs with rpm.
> 
> Any idea how this can be done?

A dependency is supposed to be something that's required for a program to work.
Removing the dependency from the rpm won't magically make a program work if it
really does require the functionality provided by that dependency.

 If it's not actually required for some reason, then install the .src.rpm, edit
the spec file to remove or modify the dependency list, and compile new source
and binary rpms.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!



More information about the CentOS mailing list