
On Mon, 2012-09-10 at 17:05 -0400, Greg Freemyer wrote:
All,
I sent the httrack package to security a couple weeks ago. It builds, but with a few rpmlint issues.
I thought I would clean up the one about the shared library needing to be split out to its own package.
I've tried to do that in home:gregfreemyer:branches:security > httrack
The diff is: https://build.opensuse.org/package/rdiff?opackage=httrack&oproject=security&...
I've tried multiple ways to call ldconfig.
But my build always fails with:
[ 218s] libhttrack2.x86_64: E: library-without-ldconfig-postin (Badness: 300) /usr/lib64/libhtsjava.so.2.0.46 [ 218s] libhttrack2.x86_64: E: library-without-ldconfig-postin (Badness: 300) /usr/lib64/libhttrack.so.2.0.46 [ 218s] This package contains a library and provides no %post scriptlet containing a [ 218s] call to ldconfig.
You need to move the ldconfig call to the libhttrack2 sub package: %post -n libhttrack2 -p /sbin/ldconfig %postun -n libhttrack2 -p /sbin/ldconfig %post without -n <name> implies having the post on the main package; which in your case does not need it, as the lib lives in a sub - package. Hth, Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org