package/runc: cleanup the CPE_ID variables
PATCH 1/1 package/runc: cleanup the CPE_ID variables
The CPE variables are derived from the package upstream values, so they must be set from the package values, not the other way around.
--- package/runc/runc.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
package/runc/runc.mk +5 -3
@@ -4,13 +4,15 @@ # ################################################################################ -RUNC_VERSION = $(RUNC_CPE_ID_VERSION)-$(RUNC_CPE_ID_UPDATE) +RUNC_VERSION_MAJOR = 1.0.0 +RUNC_VERSION_MINOR = rc92 +RUNC_VERSION = $(RUNC_VERSION_MAJOR)-$(RUNC_VERSION_MINOR) RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION)) RUNC_LICENSE = Apache-2.0 RUNC_LICENSE_FILES = LICENSE RUNC_CPE_ID_VENDOR = linuxfoundation -RUNC_CPE_ID_VERSION = 1.0.0 -RUNC_CPE_ID_UPDATE = rc92 +RUNC_CPE_ID_VERSION = $(RUNC_VERSION_MAJOR) +RUNC_CPE_ID_UPDATE = $(RUNC_VERSION_MINOR) RUNC_LDFLAGS = -X main.version=$(RUNC_VERSION) RUNC_TAGS = cgo static_build
Signature · 1 line
2.25.1
PATCH 1/1 package/runc: cleanup the CPE_ID variables
Hi Yann,
Quoted 8 lines · Yann E. MORIN
The CPE variables are derived from the package upstream values, so they must be set from the package values, not the other way around.
Signed-off-by Yann E. MORIN <[email protected]>Cc Peter Korsgaard <[email protected]>Cc Fabrice Fontaine <[email protected]>Cc Christian Stewart <[email protected]>
[snip]
package/runc/runc.mk line 15
Quoted 3 lines
package/runc/runc.mk +3
-0+RUNC_VERSION = $(RUNC_VERSION_MAJOR)-$(RUNC_VERSION_MINOR) +RUNC_CPE_ID_VERSION = $(RUNC_VERSION_MAJOR) +RUNC_CPE_ID_UPDATE = $(RUNC_VERSION_MINOR)
Thanks, LGTM.
Best regards,
Christian
PATCH 1/1 package/runc: cleanup the CPE_ID variables
In reply to Yann E. MORINQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
The CPE variables are derived from the package upstream values, so they must be set from the package values, not the other way around.
Signed-off-by Yann E. MORIN <[email protected]>Cc Peter Korsgaard <[email protected]>Cc Fabrice Fontaine <[email protected]>Cc Christian Stewart <[email protected]>
Not really a fix, but safe and it probably makes it easier to backport fixes in the future, so committed to 2021.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard