Accepting request 1161665 from home:pgajdos

- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang{,_path} macros, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1161665
OBS-URL: https://build.opensuse.org/package/show/vdr/lirc?expand=0&rev=118
This commit is contained in:
Stefan Seyfried 2024-04-14 12:47:34 +00:00 committed by Git OBS Bridge
parent 2dca86f45c
commit 357536ea4b
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 26 08:47:23 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 using
%python3_fix_shebang{,_path} macros, [bsc#1212476]
-------------------------------------------------------------------
Wed May 3 14:13:16 UTC 2023 - Johannes Segitz <jsegitz@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package lirc
#
# 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
@ -258,6 +258,10 @@ rm -rf contrib/.release-process.txt.swp
rm -rf %{buildroot}/%{_datadir}/lirc/lirc-%{version}.tar.gz %{buildroot}/%{_datadir}/lirc/python-pkg
%fdupes -s %{buildroot}
%fdupes -s .
%python3_fix_shebang
%if %{suse_version} >= 1600
%python3_fix_shebang_path %{buildroot}%{python3_sitearch}/lirc-setup/*
%endif
%post -n liblirc_client0 -p /sbin/ldconfig
%post -n liblirc_driver0 -p /sbin/ldconfig