[Gambas-devel] Deb package creation broken

Benoit Minisini gambas at ...1...
Tue Oct 16 16:27:21 CEST 2007


On mardi 16 octobre 2007, José Luis Redrejo wrote:
> But with the modification you did, in the Debian part it always returns 0
> instead Major & "." & Minor. Anyway,Debian packages should have a release
> number.  So it is not a critical feature for you, I will re-modify the
> debian routine to use it, even if that option is not checked.
>
> Regards.
>

I'm not sure to really understand what you said.

If Debian packages should have a release number, it should be the release 
number *of the package* and not the release number *of the project*.

For example, in RPM package generation, I always use "1" as package release 
number. 

This is not important, as you usually make new releases of a package just to 
fix the package, not the application inside.

As for the version string, it is calculated before calling any specific 
package creation routine. It is stored in the $sVersion class variable.

Maybe the problem comes form your use of $sPackageName. The package file name 
must be build by concatenating $sPackageName and $sVersion, as it is done in 
MakeRpmPackage(). 

But I may be wrong, as I don't know how works the debian package generator...

Regards,

-- 
Benoit Minisini




More information about the Devel mailing list