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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux