[opensuse-buildservice] shlib-policy-name-error
Some of my mono-based packages contain helper libraries or bindings. They get a shlib-policy-name-error, which is a fatal error. The error states: Your package contains a single shared library but is not named after its SONAME. It would be ridiculous to rename my package libMonoFuseHelper0, for instance as this is just a helper .so and not in any way the main contents of this package. It would be equally ridiculous to separate the helper library to a sub-package as no other package would ever need it by itself. Does the rpmlint test need to be modified to recognize the mono assemblies in the package? Where can I read the text of the shlib-policy? Would patching the package to put it's helper library in a private directory cause the test to pass? This would probably cause me some trouble as they would require .config files to instruct the runtime where to find the .so. Andrew Jorgensen --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Andrew Jorgensen escribió:
Where can I read the text of the shlib-policy?
http://en.opensuse.org/Shared_Library_Packaging_Policy
Would patching the package to put it's helper library in a private directory cause the test to pass?
Yes, this policy applies only to libraries installed in %{_libdir} or /%{_lib} -- "A computer is like an Old Testament god, with a lot of rules and no mercy. " Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
Cristian Rodríguez wrote:
Andrew Jorgensen escribió:
Where can I read the text of the shlib-policy?
http://en.opensuse.org/Shared_Library_Packaging_Policy
Would patching the package to put it's helper library in a private directory cause the test to pass?
Yes, this policy applies only to libraries installed in %{_libdir} or /%{_lib}
...and are versioned (libfoo.so -> libfoo.so.0 -> libfoo.so.0.1.2). The mono helper probably doesn't need to be versioned. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Andrew Jorgensen
-
Cristian Rodríguez
-
Michal Marek