[Gambas-user] [Gambas Bug Tracker] Bug #760: Update Standards version for Debian packages in Packager module.

bugtracker at ...3416... bugtracker at ...3416...
Fri Sep 25 00:31:54 CEST 2015


http://gambaswiki.org/bugtracker/edit?object=BUG.760&from=L21haW4-

gbWilly GAMBOS reported a new bug.

Summary
-------

Update Standards version for Debian packages in Packager module.

Type             : Request
Priority         : Medium
Gambas version   : 3.7
Product          : Development Environment


Description
-----------

In module Package two different standards versions are used for Debian packages.

One in MakeDebPackage procedure:
Print #hFile, "Standards version: 3.7.2"

One in MakeDebSupportPackage procedure:
Print #hFile, "Standards version: 3.9.2"

Current standards version is always the document number of the Debian Policy manual (https://www.debian.org/doc/debian-policy/)
Scroll all the way down and you will find it to be: version 3.9.6.1

According to same document (https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Standards-Version):
"... Thus, only the first three components of the policy version are significant in the Standards-Version control field, and so either these three components or all four components may be specified."

So, 3.9.6 would do.

I also suggest making it a constant as this version can regulary change. This so it can be easily changed before each new release of Gambas.

Something like: Private Const $sStandardsVersion As String = "3.9.6"

And next odify the two code lines mentioned above to: Print #hFile, "Standards version: " & sStandardsVersion

Thanks..








More information about the User mailing list