[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-devel-list
Subject:    Re: DNF vs YUM, $pkg, $pkg-mpi, $pkg-openmpi having same provides
From:       "T.C. Hollingsworth" <tchollingsworth () gmail ! com>
Date:       2015-06-19 20:45:38
Message-ID: CAJVv0On=mgr3AezJyBELWCRr6t3Xpm+UDiDcq=ZFeV2Mv5Nx9g () mail ! gmail ! com
[Download RAW message or body]

On Fri, Jun 19, 2015 at 2:43 AM, Dominik 'Rathann' Mierzejewski
<dominik@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.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic