diff --git a/gpsd.spec b/gpsd.spec index a4dde75..b13a8ea 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -9,6 +9,8 @@ %global scons_ver 4.6.0 %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 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 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 sed -i 's|systemctl daemon-reload|true|' SConscript