From e21668b98ee8e22c2f9539045be1bfec1fec68e8ebb1c8664187b7cd94e238c2 Mon Sep 17 00:00:00 2001 From: Herbert Graeber Date: Fri, 23 Feb 2024 19:52:19 +0000 Subject: [PATCH] Accepting request 1149817 from home:pgajdos - remove dependency on /usr/bin/python3 using %python3_fix_shebang macro, [bsc#1212476] OBS-URL: https://build.opensuse.org/request/show/1149817 OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=33 --- wsdd.changes | 6 ++++++ wsdd.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/wsdd.changes b/wsdd.changes index 55ecf83..ff75e64 100644 --- a/wsdd.changes +++ b/wsdd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 23 10:39:43 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang macro, [bsc#1212476] + ------------------------------------------------------------------- Tue Feb 20 15:12:56 UTC 2024 - Dominique Leuenberger diff --git a/wsdd.spec b/wsdd.spec index 23b4558..729cdcd 100644 --- a/wsdd.spec +++ b/wsdd.spec @@ -1,7 +1,7 @@ # # spec file for package wsdd # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,6 +34,7 @@ Source7: ws-discovery-udp.xml %endif Patch1: %{name}-shebang.patch BuildRequires: firewall-macros +BuildRequires: python-rpm-macros BuildRequires: sysuser-tools Requires(post): %fillup_prereq Supplements: samba @@ -81,6 +82,7 @@ mkdir -p %{buildroot}/run/wsdd mkdir -p %{buildroot}%{_localstatedir}/lib/wsdd mkdir -p %{buildroot}%{_sysusersdir} install -m 0644 %{SOURCE6} %{buildroot}%{_sysusersdir}/ +%python3_fix_shebang %pre -f %{name}.pre %service_add_pre wsdd.service