On Sun, 10 Jan 2016 21:57:21 +0000, Joseph L. Casale wrote:

> For the academic sake only, does a facility exist to defer evaluation
> for this use case?

It would get kinda ugly, but you could re-expand the macro body:

%global foo-bar_dir %{expand:%(ls -d 
%{_builddir}/%{name}-%{version}/foo-bar-*-baz |grep -o '[^/]*$')}
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to