fix paths in systemd unit files
This commit is contained in:
parent
ab7cbcf796
commit
56e5f16c3e
@ -114,6 +114,9 @@ different gps devices.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%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
|
# set gpsd revision string to include package revision
|
||||||
sed -i 's|^revision=.*REVISION.*$|revision='\'\
|
sed -i 's|^revision=.*REVISION.*$|revision='\'\
|
||||||
'#define REVISION "%{version}-%{release}'\"\'\| SConstruct
|
'#define REVISION "%{version}-%{release}'\"\'\| SConstruct
|
||||||
|
Loading…
Reference in New Issue
Block a user