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