Re: Is there a way to _remove_ dependencies from an RPM built from source?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 2012-02-27 at 02:52 +0100, Michael Lampe wrote:

> To recap: I'm in the middle and still want to build a sensible rpm for 
> openmpi with intel:
> 
> 	%define _use_internal_dependency_generator 0
> 	%define __find_requires         %{nil}
---
If you did not want any deps then all you had to do was:

%{!?disable_auto_requires: %define disable_auto_requires 0}
to
%{!?disable_auto_requires: %define disable_auto_requires 1}

in the spec file if you got the srpm from the open-mpi.org site.  Which
leads to this being changed.

%if %{disable_auto_requires}
AutoReq: no
%endif

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux