From acb0b7562fe024351fc1ab7f667d6816e93c4425a597290eb5a00a96c7df7f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 3 Oct 2024 17:35:51 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main lirc revision ff04fac34f26c79d320abd26b1adf969 --- lirc.changes | 6 ++++++ lirc.spec | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lirc.changes b/lirc.changes index f423977..3a0f28a 100644 --- a/lirc.changes +++ b/lirc.changes @@ -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 diff --git a/lirc.spec b/lirc.spec index 491c1fb..11b08f2 100644 --- a/lirc.spec +++ b/lirc.spec @@ -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