* Alain Vigne [02/02/2022 16:07] :
Can someone explain to me why my .srpm [1]
is not building in mock ?
This fails with the following message:
RPM build errors:
error: File not found:
/builddir/build/BUILDROOT/libfungw-1.2.0-1.fc36.x86_64/usr/lib64/libfungw_mujs.*
error: File not found:
/builddir/build/BUILDROOT/libfungw-1.2.0-1.fc36.x86_64/usr/lib/puplug/fungw_mujs.*
File not found:
/builddir/build/BUILDROOT/libfungw-1.2.0-1.fc36.x86_64/usr/lib64/libfungw_mujs.*
File not found:
/builddir/build/BUILDROOT/libfungw-1.2.0-1.fc36.x86_64/usr/lib/puplug/fungw_mujs.*
This is because the spec file contains the following stanza:
%files -n %{libmujs}
%{_libdir}/%{name}_mujs.*
%{_usr}/lib/puplug/%{srcname}_mujs.*
but the instructions of the %install part of the spec don't result in
these files being created. So the creation of the rpm fails.
Emmanuel