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

Bruce adamnt42 at gmail.com
Fri Jul 17 10:28:33 CEST 2020


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.

Should not this be wrqpped in an If that refers to the state of the 
wizard checkbox?

rgrds
bruce


On 16/7/20 10:57 am, Bruce wrote:
> even if the "minimum gambaas version is unchecked!
> 
> e.g.
> Requires: gambas3-runtime >= 3.15,gambas3-runtime < 
> 3.99.0,gambas3-gb-image >= 3.15,gambas3-gb-image < 
> 3.99.0,gambas3-gb-form >= 3.15,gambas3-gb-form < 3.99.0,
> 
> None of these packages exist here as Gambas is built from source.
> 
> 
> Also, sometimes the dependencies are rediculous, such as
> Requires: gambas3-runtime >= 3.15,gambas3-runtime < 
> 3.99.0,gambas3-gb-args >= 3.15,gambas3-gb-args < 3.99.0,gambas3-gb-image 
>  >= 3.15,gambas3-gb-image < 3.99.0,gambas3-gb-qt4 >= 3.15,gambas3-gb-qt4 
> < 3.99.0,gambas3-gb-form >= 3.15,gambas3-gb-form < 3.99.0,gambas3-gb-db 
>  >= 3.15,gambas3-gb-db < 3.99.0,gambas3-gb-desktop >= 
> 3.15,gambas3-gb-desktop < 3.99.0,gambas3-gb-desktop-x11 >= 
> 3.15,gambas3-gb-desktop-x11 < 3.99.0,gambas3-gb-util >= 
> 3.15,gambas3-gb-util < 3.99.0,gambas3-gb-settings >= 
> 3.15,gambas3-gb-settings < 3.99.0,gambas3-gb-form-mdi >= 
> 3.15,gambas3-gb-form-mdi < 3.99.0,gambas3-gb-qt4-ext >= 
> 3.15,gambas3-gb-qt4-ext < 3.99.0,gambas3-gb-qt4-webkit >= 
> 3.15,gambas3-gb-qt4-webkit < 3.99.0,gambas3-gb-xml >= 
> 3.15,gambas3-gb-xml < 3.99.0,gambas3-gb-xml-html >= 
> 3.15,gambas3-gb-xml-html < 3.99.0,gambas3-ph-filtertree >= 
> 3.15,gambas3-ph-filtertree < 3.99.0,gambas3-ph-genutil >= 
> 3.15,gambas3-ph-genutil < 3.99.0,gambas3-ph-internalsrt >= 
> 3.15,gambas3-ph-internalsrt < 3.99.0,gambas3-ph-phcontrols4 >= 
> 3.15,gambas3-ph-phcontrols4 < 3.99.0,gambas3-ph-vmenu >= 
> 3.15,gambas3-ph-vmenu < 3.99.0,gambas3-ph-vaboutme3 >= 
> 3.15,gambas3-ph-vaboutme3 < 3.99.0,gambas3-ph-vappoptions >= 
> 3.15,gambas3-ph-vappoptions < 3.99.0,gambas3-ph-vsysinfos >= 
> 3.15,gambas3-ph-vsysinfos < 3.99.0,gambas3-ph-vrecentfiles >= 
> 3.15,gambas3-ph-vrecentfiles < 3.99.0,gambas3-ph-vsysstatus >= 
> 3.15,gambas3-ph-vsysstatus < 3.99.0
> 
> as it is enforcing a minimum versionb on local components that have no 
> where near a version of 3.15
> 
> This is a major step backwards.
> 
> regards
> bruce


More information about the User mailing list