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

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Fri Jun 19 09:43:39 UTC 2015


On Friday, 19 June 2015 at 01:10, T.C. Hollingsworth wrote:
[...]
> You should instead use the new depdendency generator hooks, which are
> also quite a bit nicer to work with. All you have to do is create a
> file %{_rpmconfigdir}/fileattrs/openmpi.attrs with something like:
> 
> # the path to your provides generating script
> %__openmpi_provides %{_rpmconfigdir}/openmpi.prov
> # the path to your requires generating script
> %__openmpi_requires %{_rpmconfigdir}/openmpi.req
> # 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?

Regards,
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"


More information about the devel mailing list