From 30db9add25c3e6e2aa744d303cee9a908a5995ef372c05b9d92f8035f5afee25 Mon Sep 17 00:00:00 2001 From: Herbert Graeber Date: Wed, 18 Oct 2023 17:24:08 +0000 Subject: [PATCH] Accepting request 1118629 from home:hgraeber:branches:network - Leap 15.6 has no python 3.10 anymore, use 3.11 instead OBS-URL: https://build.opensuse.org/request/show/1118629 OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=29 --- wsdd.changes | 5 +++++ wsdd.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/wsdd.changes b/wsdd.changes index f3ddc16..3eb5d36 100644 --- a/wsdd.changes +++ b/wsdd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 18 15:36:03 UTC 2023 - Herbert Graeber + +- Leap 15.6 has no python 3.10 anymore, use 3.11 instead + ------------------------------------------------------------------- Thu Apr 6 08:34:14 UTC 2023 - Dominique Leuenberger diff --git a/wsdd.spec b/wsdd.spec index fec1dc6..c5e33e5 100644 --- a/wsdd.spec +++ b/wsdd.spec @@ -56,7 +56,11 @@ for devices running Samba, like NAS or file sharing servers on your local networ %build %sysusers_generate_pre %{SOURCE6} %{name} %{name}-user.conf %if 0%{suse_version} <= 1500 +%if 0%{?sle_version} < 150600 sed -i '1s/python3/python3.10/' src/wsdd.py +%else +sed -i '1s/python3/python3.11/' src/wsdd.py +%endif %endif %install