Ah, got it.
Lots depends on what you expect of %dirname as a "primitive".
If you consider %dirname as, say, strrrchr(str, '/') with appropriate checks on
return value, then there isn;t a needs for an expansion per se.
But if you consider %dirname as a dirname(3) argument, then a fully expanded
string argument is needed, just like any "primitive" system call.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/313#issuecomment-326722443
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint