This can be surprising but we actually compile things during
the `install` stage of `rpm-build`. The example is the pybind's
`setup.py` which builds `rados_dummy.c`.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit
f05b671798a54dce0e4aa340f76b31f401061a27)
%install
+
+%if 0%{with seastar}
+%if 0%{?fedora} || 0%{?rhel}
+%undefine _annotated_build
+. /opt/rh/gcc-toolset-11/enable
+%endif
+%endif
+
pushd %{_vpath_builddir}
%make_install
# we have dropped sysvinit bits