DevHeads.net

ldconfig scriplets

Hi folks,

I have a 'mariadb-connector-c' package. [1]
<https://src.fedoraproject.org/rpms/mariadb-connector-c/tree/master>
Due to some issues, I only maintain it in F28 and later.

I removed the scriplets as said here: [2]
<https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets>
*"Packagers who want to support only Fedora 28+ in their spec files can
remove scriptlets entirely."*
The library goes right into %{_libdir} and I don't use the ld.so.conf file.

Yet RPMLint still finds errors: [3]
<https://taskotron.fedoraproject.org/artifacts/all/bcab55e0-6b34-11e8-99da-525400fc9f92/tests.yml/mariadb-connector-c-3.0.5-1.fc28.lo>

*"E: library-without-ldconfig-postin /usr/lib/libmariadb.so.3"*The
taskotron only found it on arm, but local 'fedpkg lint' finds it on my
x86_64 too.

Any thoughts, what I (or RPMLint) did wrong?

[1] <a href="https://src.fedoraproject.org/rpms/mariadb-connector-c/tree/master" title="https://src.fedoraproject.org/rpms/mariadb-connector-c/tree/master">https://src.fedoraproject.org/rpms/mariadb-connector-c/tree/master</a>
[2] <a href="https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets" title="https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets">https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets</a>
[3]
<a href="https://taskotron.fedoraproject.org/artifacts/all/bcab55e0-6b34-11e8-99da-525400fc9f92/tests.yml/mariadb-connector-c-3.0.5-1.fc28.log" title="https://taskotron.fedoraproject.org/artifacts/all/bcab55e0-6b34-11e8-99da-525400fc9f92/tests.yml/mariadb-connector-c-3.0.5-1.fc28.log">https://taskotron.fedoraproject.org/artifacts/all/bcab55e0-6b34-11e8-99d...</a>

Comments

Re: ldconfig scriplets

By Zbigniew =?utf-... at 06/09/2018 - 08:07

On Sat, Jun 09, 2018 at 01:49:44PM +0200, Michal Schorm wrote:
rpmlint hasn't been updated. Just ignore.

Zbyszek