SHA256
1
0
forked from pool/gpsd

Accepting request 1157605 from home:pgajdos

- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang_path macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1157605
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=159
This commit is contained in:
Dirk Stoecker 2024-03-13 16:56:45 +00:00 committed by Git OBS Bridge
parent 096a7fe453
commit c9ed8445ba
2 changed files with 11 additions and 1 deletions

View File

@ -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 <dimstar@opensuse.org> Tue Feb 27 11:11:27 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package gpsd # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 xgpsspeed System Monitor
%suse_update_desktop_file -r xgps 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 %pre
%service_add_pre gpsd.service gpsdctl@.service gpsd.socket %service_add_pre gpsd.service gpsdctl@.service gpsd.socket