4 Feb
2022
4 Feb
'22
15:43
On Friday 2022-02-04 16:32, Florian Haftmann wrote:
To make rpmbuild work properly, a tar ball has to be generated explicitly first.
Not really. You just have to be aware of the constraints imposed by rpm, which is that the %_builddir is deleted at the start of %build. Other than that there is little in the way of things. No Source: lines are needed in the .spec. %build mv %_sourcedir/* ./ %configure %make_build works, provided you somehow populated rpmbuild/SOURCES/ somehow (which is not a big deal when calling rpmbuild itself, but can be when extra layers like OBS are on top - but that's not rpmbuild's fault).