SHA256
1
0
forked from pool/gpsd
Martin Pluskal 2017-11-21 08:13:25 +00:00 committed by Git OBS Bridge
parent 5d8ca09324
commit efcd9ecff1

View File

@ -184,7 +184,7 @@ install -D -m 644 systemd/gpsdctl@.service %{buildroot}/%{_unitdir}/gpsdctl@.ser
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcgpsd
# Use correct python2 paths
sed -i "s|env python|python|g" %{buildroot}%{_bindir}/*
sed -i "s|env python|python2|g" %{buildroot}%{_bindir}/*
# strip absolute path and suffix
sed -i -e 's#Icon=.*/\([^/]\+\)\(\..\+\)#Icon=\1#' %{buildroot}%{_datadir}/applications/xgps{,speed}.desktop