[mono-packagers] libmono-2.0.a missing from all CentOS packages?

Eugene Kobrinsky cue at integrate.com
Fri Feb 19 20:54:12 UTC 2016


I asked this on the mono-list without much success but maybe packagers list might be more appropriate:

The static mono library (libmono-2.0.a) doesn't appear in any package on the official mono CentOS (download.mono-project.com/repo/centos). This prevents us from using "mkbundle -static ..." in our CentOS environments. 

Timotheus from the mono-list@ pointed out that the source for the rpm file specifically removes the static libraries: 

--- source of the rpm file: https://github.com/mono/linux-packaging-mono/blob/centos/mono-core.spec#L189
# remove .a files for libraries that are really only for us rm -f %{buildroot}%{_libdir}/libMonoPosixHelper.a
rm -f %{buildroot}%{_libdir}/libikvm-native.a
rm -f %{buildroot}%{_libdir}/libmono-llvm.a
rm -f %{buildroot}%{_libdir}/libmono-2.0.a
rm -f %{buildroot}%{_libdir}/libmonoboehm-2.0.a
rm -f %{buildroot}%{_libdir}/libmonosgen-2.0.a
--

Just trying to figure out if this is a possible oversight of use cases or there is a specific reason behind it.  Why do this for CentOS/Fedora but not for Ubuntu/Debian?

Thanks,

Eugene


More information about the mono-packagers-list mailing list