Re: Conditional comparision doesn't work

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

 



Am Samstag, den 09.04.2011, 19:48 +0200 schrieb Michael Schwendt:
> On Sat, 09 Apr 2011 19:34:48 +0200, Christoph wrote:
> > 
> > What would that look like in a spec?
> 
> String comparison in general? It uses double-quotes as in shell scripts:

Ok, for some reason I thought it was different in a spec.

> But with regard to what you try to do, it will be severely limited,
> because it is not a substitute for full RPM Version Comparison. Example:
> "4.8.10" is less than "4.8.3"

Good point. For "Requires:" it doesn't make much sense anyway and even
the %if clause will break in Xfce 4.10, which renders the whole patch
pretty useless. It only makes sense if used in long term because I don't
want to revert the changes again in one year.

Thanks for your help!

Regards,
Christoph

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux