set gpsd revision string to include package revision
This commit is contained in:
parent
3f55d2db18
commit
2a72fa11dd
@ -80,6 +80,10 @@ can run on a serial terminal or terminal emulator.
|
||||
%setup -q -n %{name}
|
||||
%patch1 -p1 -b .ppsoffset
|
||||
|
||||
# set gpsd revision string to include package revision
|
||||
sed -i 's|^revision=.*REVISION.*$|revision='\'\
|
||||
'#define REVISION "%{version}-%{release}'\"\'\| SConstruct
|
||||
|
||||
# fix RPATH
|
||||
sed -i 's|sysrpath =.*|sysrpath = ["%{_libdir}"]|' SConstruct
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user