fix paths in systemd unit files
This commit is contained in:
parent
ab7cbcf796
commit
56e5f16c3e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user