[Gambas-user] 3.15 RPM packager creates SPEC file with unwanted dependencies

Benoît Minisini g4mba5 at gmail.com
Sat Jul 25 10:57:49 CEST 2020


Le 17/07/2020 à 10:28, Bruce a écrit :
> OK, I think I found (part of) the problem, but not the solution. :-(
> At the beginning of the Make() method in the IDE Packager/Package module 
> you are using the following:
> 
>      If Project.RuntimeVersion Then
>              MIN_VERSION = Project.RuntimeVersion
>        Else
>              aVer = Split(System.FullVersion, ".")
>              MIN_VERSION = aVer[0] & "." & aVer[1]
>        Endif
> 
> I think this is setting dependencies in the Else part regardless of 
> whether the checkbox is true.

If the checkbox is false, then Project.RuntimeVersion is void, so the 
test is correct.

-- 
Benoît Minisini


More information about the User mailing list