User error. I didn't have a terminating NULL in the call to rpmExpand... ie it should have been rpmdir = rpmExpand("%{_rpmdir}", NULL); richard. -- ----------------------------------------------------------------------- richard offer @ gmail "Specialization is for insects" _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list