add note about limited Red Hat support
This commit is contained in:
parent
73ceac881f
commit
dc65349e54
@ -9,6 +9,8 @@
|
|||||||
|
|
||||||
%global scons_ver 4.6.0
|
%global scons_ver 4.6.0
|
||||||
%global scons python3 scons-%{scons_ver}/scripts/scons.py
|
%global scons python3 scons-%{scons_ver}/scripts/scons.py
|
||||||
|
%global note1 The Red Hat support for this package is limited. See
|
||||||
|
%global note2 https://access.redhat.com/support/policy/gpsd-support for more details.
|
||||||
|
|
||||||
Name: gpsd
|
Name: gpsd
|
||||||
Version: 3.25
|
Version: 3.25
|
||||||
@ -151,6 +153,10 @@ do not reference it or depend on it in any way.
|
|||||||
%patch -P 2 -p1 -b .scanfixes
|
%patch -P 2 -p1 -b .scanfixes
|
||||||
%patch -P 3 -p1 -b .busywait
|
%patch -P 3 -p1 -b .busywait
|
||||||
|
|
||||||
|
# add note to man pages about limited support
|
||||||
|
sed -i ':a;$!{N;ba};s|\(\.SH "[^"]*"\)|.SH "NOTE"\n%{note1}\n%{note2}\n\1|3' \
|
||||||
|
man/*.{1,8}
|
||||||
|
|
||||||
# don't try reloading systemd when installing in the build root
|
# don't try reloading systemd when installing in the build root
|
||||||
sed -i 's|systemctl daemon-reload|true|' SConscript
|
sed -i 's|systemctl daemon-reload|true|' SConscript
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user