Re: Requires and ignore specific version

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

 



Cristian Falcas wrote:
% Hello,

Hello Cristian,

% Is there any possibility to ignore a specific version for "Requires"?

There isn't an easy way to do this.

% We're trying to build a rpm for sprockets gem, which has this dependencies:
% 
% sprockets (2.11.0)
%     ....
%     tilt (~> 1.1, != 1.3.0)
% 
% Is there any possibility to say something like this in the spec file:
% 
% Requires: rubygem(tilt) != 1.3.0
% 
% gem2rpm is generating this :
% 
% Requires: rubygem(tilt) > 1.3.0
% Requires: rubygem(tilt) < 1.3.0
% 
% 
% Which is turn makes the resulting rpm to depend on tilt<1.3.0 only (
% we would like tilt 1.4.1 ).

I'd simply use
Requires: rubygem(tilt) > 1.3.0
 

Regards,

--
Michael Mráka
Software Management Engineering, Red Hat

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list





[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux