DNF vs YUM, $pkg, $pkg-mpi, $pkg-openmpi having same provides

Susi Lehtola jussilehtola at fedoraproject.org
Mon Jun 15 22:30:34 UTC 2015


On 06/14/2015 03:02 PM, Sandro Mani wrote:
> On 14.06.2015 16:28, Sandro Mani wrote:
>> Rules to generate such requires/provides:
>> * Provides: if the path of the library starts with $MPI_LIB, append
>> the (openmpi) resp (mpich) to the provides string
>> * Requires: if the path of the scanned object starts with $MPI_LIB and
>> the required library exists in $MPI_LIB, add (openmpi) resp (mpich) to
>> the requires string
>>
>> Overriding the find-requires.sh could be done with a
>> %{?openmpi_package_header}.
> Concrete examples:
>
> https://smani.fedorapeople.org/mpi-find-provides
> https://smani.fedorapeople.org/mpi-find-requires
>
> Konsole output
> $ echo -e
> "/usr/lib64/openmpi/lib/libnglib-5.3.1.so\n/usr/lib64/libnglib-5.3.1.so"
> | ./mpi-find-provides
> libnglib-5.3.1.so()(64bit)(openmpi-x86_64)
> libnglib-5.3.1.so()(64bit)

Sounds even better... although your links give HTTP 403.
-- 
Susi Lehtola
Fedora Project Contributor
jussilehtola at fedoraproject.org


More information about the devel mailing list