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

T.C. Hollingsworth tchollingsworth at gmail.com
Fri Jun 19 20:45:38 UTC 2015


On Fri, Jun 19, 2015 at 2:43 AM, Dominik 'Rathann' Mierzejewski
<dominik at greysector.net> wrote:
> On Friday, 19 June 2015 at 01:10, T.C. Hollingsworth wrote:
>> # a regular expression that paths in an RPM
>> # must match to trigger the generator
>> %__openmpi_path ^%{_prefix}/lib(64)/(openmpi|mpich)/.*$
>
> Isn't the '.*$' part at the end of the RE above redundant?

That regular expression matches on the entire path and filename, so
the ".*" is necessary to match the "libwhatever.so.0" at the end of
the path.  Without it, the generator would only trigger on the RPM
that owns the directory, which presumably is only the main openmpi
package.

-T.C.


More information about the devel mailing list