fix paths in systemd unit files

This commit is contained in:
Miroslav Lichvar 2018-10-09 12:58:32 +02:00
parent ab7cbcf796
commit 56e5f16c3e

View File

@ -114,6 +114,9 @@ different gps devices.
%prep
%setup -q
# fix paths in systemd unit files
sed -i 's|/usr/local/sbin|%{_sbindir}|' systemd/*.service
# set gpsd revision string to include package revision
sed -i 's|^revision=.*REVISION.*$|revision='\'\
'#define REVISION "%{version}-%{release}'\"\'\| SConstruct