diff --git a/gpsd.changes b/gpsd.changes index 3f432d8..a175bc4 100644 --- a/gpsd.changes +++ b/gpsd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 13 11:43:15 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang_path macro, [bsc#1212476] + ------------------------------------------------------------------- Tue Feb 27 11:11:27 UTC 2024 - Dominique Leuenberger diff --git a/gpsd.spec b/gpsd.spec index 067ea76..0d76e8f 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -1,7 +1,7 @@ # # spec file for package gpsd # -# 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 @@ -277,6 +277,10 @@ sed -i -e 's#Icon=.*/\([^/]\+\)\(\..\+\)#Icon=\1#' %{buildroot}%{_datadir}/appli %suse_update_desktop_file -r xgpsspeed System Monitor %suse_update_desktop_file -r xgps System Monitor +%if %{suse_version} >= 1600 +%python_expand %python3_fix_shebang_path %{buildroot}%{$python_sitearch}/gps/* +%endif + %pre %service_add_pre gpsd.service gpsdctl@.service gpsd.socket