﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5317	RPM's might have too many provides	anders.blomdell@…	Martin Sjölund	"The rpm's provided by openmodelica has provides of many bundled
libraries that might make other packages that depends on those
provides fail if openmodelica gets loaded instead of a rpm that
has that library in the ordinary library paths(s)

{{{
$ curl https://build.openmodelica.org/rpm/fc27/openmodelica-1.13-1.13.2-1.fc27.x86_64.rpm > openmodelica-1.13-1.13.2-1.fc27.x86_64.rpm
$ rpm -q --provides -p openmodelica-1.13-1.13.2-1.fc27.x86_64.rpm
libModelicaExternalC.so.0()(64bit)
libModelicaIO.so.0()(64bit)
libModelicaMatIO.so.0()(64bit)
libModelicaStandardTables.so.0()(64bit)
libOMPlot.so.1()(64bit)
libOpenModelicaCompiler.so()(64bit)
libOpenModelicaFMIRuntimeC.so()(64bit)
libOpenModelicaRuntimeC.so()(64bit)
libSimulationRuntimeC.so()(64bit)
libamd.so()(64bit)
libbtf.so()(64bit)
libcminpack.so.1()(64bit)
libcoinmumps.so.1()(64bit)
libcolamd.so()(64bit)
libfmilib_shared.so()(64bit)
libipopt.so.0()(64bit)
libklu.so()(64bit)
liblis.so.0()(64bit)
libomantlr3.so()(64bit)
libomcgc.so.1()(64bit)
libomcruntime.so()(64bit)
libomopcua.so()(64bit)
libomqwt.so.6()(64bit)
libqjson.so.0()(64bit)
libsundials_arkode.so.1()(64bit)
libsundials_cvode.so.1()(64bit)
libsundials_cvodes.so.2()(64bit)
libsundials_ida.so.2()(64bit)
libsundials_idas.so.0()(64bit)
libsundials_kinsol.so.1()(64bit)
libsundials_nvecserial.so.0()(64bit)
libumfpack.so()(64bit)
libzlib.so.0()(64bit)
libzmq.so.5.1.3()(64bit)
openmodelica-1.12 = 1.12.0~9~g6f68ff6-1.fc27
openmodelica-1.12(x86-64) = 1.12.0~9~g6f68ff6-1.fc27
}}}

Adding something like this in the .spec file might be a good idea:

{{{
%global __provides_exclude_from ^/opt/openmodelica-1.13/lib/x86_64-linux-gnu/omc/.*$
%global __requires_exclude_from ^/opt/openmodelica-1.13/lib/x86_64-linux-gnu/omc/.*$
}}}



"	defect	closed	normal	1.14.0	*unknown*	v1.13.0	fixed		anders.blomdell@…
