diff mbox series

[meta-swupdate] swupdate-lualoader: Remove empty SECTION

Message ID 20240220100032.2792181-1-Michael.Glembotzki@iris-sensing.com
State Changes Requested
Headers show
Series [meta-swupdate] swupdate-lualoader: Remove empty SECTION | expand

Commit Message

Michael Glembotzki Feb. 20, 2024, 10 a.m. UTC
From: Erik Schumacher <erik.schumacher@iris-sensing.com>

Having an empty SECTION = "" causes packaging failures with rpm:
| DEBUG: Executing shell function BUILDSPEC
| error: line 6: Empty tag: Group:

Fix packaging by removing this line

Signed-off-by: Erik Schumacher <erik.schumacher@iris-sensing.com>
---
 recipes-lua/swupdate-lualoader/swupdate-lualoader_1.0.bb | 1 -
 1 file changed, 1 deletion(-)

Comments

Stefano Babic Feb. 20, 2024, 10:26 a.m. UTC | #1
Hi Michael, Erik,

On 20.02.24 11:00, Michael Glembotzki wrote:
> From: Erik Schumacher <erik.schumacher@iris-sensing.com>
>
> Having an empty SECTION = "" causes packaging failures with rpm:
> | DEBUG: Executing shell function BUILDSPEC
> | error: line 6: Empty tag: Group:
>
> Fix packaging by removing this line
>
> Signed-off-by: Erik Schumacher <erik.schumacher@iris-sensing.com>
> ---
>   recipes-lua/swupdate-lualoader/swupdate-lualoader_1.0.bb | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/recipes-lua/swupdate-lualoader/swupdate-lualoader_1.0.bb b/recipes-lua/swupdate-lualoader/swupdate-lualoader_1.0.bb
> index d6886c7..26c624c 100644
> --- a/recipes-lua/swupdate-lualoader/swupdate-lualoader_1.0.bb
> +++ b/recipes-lua/swupdate-lualoader/swupdate-lualoader_1.0.bb
> @@ -1,6 +1,5 @@
>   SUMMARY = "Loader for swupdate"
>   LICENSE = "MIT"
> -SECTION = ""
>   DEPENDS = "lua"
>   LIC_FILES_CHKSUM = "file://${WORKDIR}/swupdate_handlers.lua;md5=354cf4af377edd962d2e8d78085d3ed7;beginline=1;endline=19"
>

I confess that I do not build rpms, so the error is there since a very
long time. But instead of removing we could add a suitable entry, can we
? I do not see any with Lua, but I see "devel/python". What about
"devel/lua" ?

Best regards,
Stefano
diff mbox series

Patch

diff --git a/recipes-lua/swupdate-lualoader/swupdate-lualoader_1.0.bb b/recipes-lua/swupdate-lualoader/swupdate-lualoader_1.0.bb
index d6886c7..26c624c 100644
--- a/recipes-lua/swupdate-lualoader/swupdate-lualoader_1.0.bb
+++ b/recipes-lua/swupdate-lualoader/swupdate-lualoader_1.0.bb
@@ -1,6 +1,5 @@ 
 SUMMARY = "Loader for swupdate"
 LICENSE = "MIT"
-SECTION = ""
 DEPENDS = "lua"
 LIC_FILES_CHKSUM = "file://${WORKDIR}/swupdate_handlers.lua;md5=354cf4af377edd962d2e8d78085d3ed7;beginline=1;endline=19"