[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:       Dominik 'Rathann' Mierzejewski <dominik () greysector ! net>
Date:       2015-06-19 9:43:39
Message-ID: 20150619094339.GA10183 () sakura ! greysector ! net
[Download RAW message or body]

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"
-- 
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