From 90d59c458d549b9465a254fbfe46c67adb5207d7 Mon Sep 17 00:00:00 2001 From: madomado Date: Mon, 1 Jul 2024 12:33:52 +0800 Subject: [PATCH] fix versioning in egg-info dir Signed-off-by: madomado --- anda/langs/python/pillow-heif/python3-pillow-heif.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/anda/langs/python/pillow-heif/python3-pillow-heif.spec b/anda/langs/python/pillow-heif/python3-pillow-heif.spec index 066abdc598..6ad7469c97 100644 --- a/anda/langs/python/pillow-heif/python3-pillow-heif.spec +++ b/anda/langs/python/pillow-heif/python3-pillow-heif.spec @@ -88,6 +88,9 @@ export PILLOW_HEIF_VERSION=%version # Native build %py3_install +# hackā€¦? but how did this even happen in the first place +mv %buildroot%python3_sitearch/pillow_heif-0.0.0-py%python3_version.egg-info %buildroot%python3_sitearch/pillow_heif-%version-py%python3_version.egg-info || true + %check # Check Python 3 modules cp %{SOURCE1} $(echo $PWD/build/lib.linux-*)/