https://bugzilla.redhat.com/show_bug.cgi?id=825854

--- Comment #3 from Michael Schwendt <mschwe...@gmail.com> ---
There's an eyebrow-rasier in the spec file:

> sed -i -e 's|-O2 -Wall|%{optflags} -I../libs|' \
>     -e 's|ldconfig||' libs/Makefile
> # We don't want to run ldconfig in the build environment. 

Why?
And later:

> # install missing symlink (was giving no-ldconfig-symlink rpmlint errors)
> ln -sf %{_libdir}/lib%{name}.so.%{version} 
> %{buildroot}%{_libdir}/lib%{name}.so.0

Running ldconfig would create that missing symlink. You could even explicitly
run

   ldconfig -n %{buildroot}%{_libdir}

to create the needed symlink instead of creating it manually with a hardcoded
version.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to