I'm using FC3-test3 on AMD64 and writing to the C API. I'm using rpmExpand to determine the location that RPMS should be placed using char * rpmdir=NULL; rpmdir = rpmExpand("%{_rpmdir}"); Adding %_rpmdir /demo/rpm/directory into ~/.rpmmacros gives when printf'ed 23 /demo/rpm/directorypñÿ¿ Where the 23 is strlen(rpmdir). Other queries (specifically tested is %{_sourcedir}) return "good" strings. Any thoughts ? richard. -- ----------------------------------------------------------------------- richard offer @ gmail "Specialization is for insects" _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list