Skip to contentSkip to conversation

python3-zeroconf: correct license file and checksum

PATCH New Gyorgy Sarvari 1 participant 1 message Jan 24, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-zeroconf: correct license file and checksum

The PKG-INFO file's content can shift around, and the different details can change position - e.g. line 6 currently points to the "Author" field, and not to the "License" field.

Instead use the COPYING file to verify the license, which seems to be a more stable indicator.

---
 meta-python/recipes-devtools/python/python3-zeroconf_0.141.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-zeroconf_0.141.0.bb +1 -1
index f545f2b55..a968a6518 100644
@@ -1,7 +1,7 @@
 SUMMARY = "Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
 HOMEPAGE = "https://github.com/jstasiak/python-zeroconf"
 LICENSE = "LGPL-2.1-or-later"
-LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=93e84222c4bfa3e70c20bb48ae9893b1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=9fe712b1bc27c5c4e9ecd7f31d208900"
 
 SRC_URI[sha256sum] = "c0c41cfe1331cf885f132dd2400e4091f59ae0a571cae14f3db66919a055489b"
 
Signature · 1 line
2.48.1