From 1424758fc8216daf291c184f0396aac3f1f7736382c86f3db595b3d4183aab81 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 30 Apr 2024 10:55:05 +0000 Subject: [PATCH] Accepting request 1170742 from home:pgajdos - usage of %python3_fix_shebang to cover /usr/bin is also needed [bsc#1212476] OBS-URL: https://build.opensuse.org/request/show/1170742 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=161 --- gpsd.changes | 6 ++++++ gpsd.spec | 1 + 2 files changed, 7 insertions(+) diff --git a/gpsd.changes b/gpsd.changes index a175bc4..1f63d04 100644 --- a/gpsd.changes +++ b/gpsd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 29 09:32:13 UTC 2024 - pgajdos@suse.com + +- usage of %python3_fix_shebang to cover /usr/bin is also + needed [bsc#1212476] + ------------------------------------------------------------------- Wed Mar 13 11:43:15 UTC 2024 - pgajdos@suse.com diff --git a/gpsd.spec b/gpsd.spec index 0d76e8f..757e1d5 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -277,6 +277,7 @@ 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 +%python3_fix_shebang %if %{suse_version} >= 1600 %python_expand %python3_fix_shebang_path %{buildroot}%{$python_sitearch}/gps/* %endif