Created attachment 523011 [details] Patch to fix unused direct dependency on libm Description of problem: $ rpmlint gmp gmp.x86_64: W: spelling-error %description -l en_US fullwords -> full words, full-words, forewords gmp.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libgmpxx.so.4.1.2 /lib64/libm.so.6 I suspect that this unused direct shared library dependency is why some of my packages get the same warning, because they link against libgmpxx. The cause is good old libtool, which thinks that EVERYTHING needs to be linked with -lm. I am attaching one way of solving the problem. Pardon my conversion of the perl invocation to sed; I understand sed quite well, and perl hardly at all. Version-Release number of selected component (if applicable): gmp-4.3.2-4.fc17.x86_64 How reproducible: Always Steps to Reproduce: 1. rpmlint gmp 2. 3. Actual results: Rpmlint reports an unused direct shared library dependency on libm. Expected results: No unused direct shared library dependencies. Additional info:
fixed in: gmp-5.0.2-3.fc17 https://koji.fedoraproject.org/koji/buildinfo?buildID=268643