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

Reply via email to