rpmbuild fails
Brought to you by:
gqview
trying to create an gqview rpm from the tarball fails under this circumstances:
- tarball version gqview-2.0.4
- distro OpenSuSE 12.1
- gcc version 4.6.2
the linker runs into the following error:
"undefined reference to symbol 'pow@@GLIBC_2.0'"
the following setting in src/Makefile allows the linker to succeed:
LIBS = -lm
there is another issue concerning rpmbuild:
in gqview.spec the %files-section should look like
%files
%defattr(-, root, root)
%config(noreplace) /usr/share/doc/gqview-2.0.4/*
so the html docs are included into the RPM.