"%(buildroot)s/mypath" was working for me
# general
s
"%(buildroot)s/mypath" was working for me