Skip to content
Snippets Groups Projects
Commit b7c6d4cc authored by gambas's avatar gambas
Browse files

Packager: Add distribution suffix in rpm support package dependencies.

[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Add distribution suffix in rpm support package dependencies.
parent 26b4327f
No related branches found
No related tags found
No related merge requests found
Pipeline #120107707 passed
......@@ -1774,6 +1774,7 @@ Private Function MakeRpmSupportPackage(sSys As String, sSupport As String, aComp
Dim sVendor As String
Dim sRelease As String
Dim sPackageName As String
Dim sDependency As String
Inc Application.Busy
......@@ -1851,7 +1852,9 @@ Private Function MakeRpmSupportPackage(sSys As String, sSupport As String, aComp
'PRINT #hFile, "BuildRequires: gambas2-ide"
Print #hFile, "BuildArch: noarch"
Print #hFile, "Requires: "; FormatRpmPackageName($sUnsafePackageName);; ">=";; $sVersionWithRelease;; ","; FormatRpmPackageName($sUnsafePackageName);; "<=";; $sVersionWithRelease; GetDependencies(aComp)
sDependency = $sVersion & "-" & sRelease
Print #hFile, "Requires: "; FormatRpmPackageName($sUnsafePackageName);; ">=";; sDependency;; ","; FormatRpmPackageName($sUnsafePackageName);; "<=";; sDependency; GetDependencies(aComp)
Print #hFile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment