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
This commit is contained in:
Herbert Graeber 2024-02-23 19:52:19 +00:00 committed by Git OBS Bridge
parent 6511c861ba
commit e21668b98e
2 changed files with 9 additions and 1 deletions

View File

@ -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 <dimstar@opensuse.org>

View File

@ -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