On Sun, 2007-07-29 at 11:14 -0400, Steve Dickson wrote: > I'm getting the following build error: > > /usr/lib/rpm/check-buildroot > /var/tmp/libgssapi-0.11-root/usr/lib64/pkgconfig/libgssapi.pc:prefix=/var/tmp/libgssapi-0.11-root > Found '/var/tmp/libgssapi-0.11-root' in installed files; aborting > error: Bad exit status from /var/tmp/rpm-tmp.75914 (%install) Steve, Look closely at what you've pasted: The file (/var/tmp/libgssapi-0.11-root/usr/lib64/pkgconfig/libgssapi.pc) contains the rpm buildroot inside of it. The script printed the line where the buildroot appears: prefix=/var/tmp/libgssapi-0.11-root Since this is not what you want the prefix to be for the installed package, you need to fixup that .pc file in the %install section of your spec. sed -i "s|${RPM_BUILD_ROOT}||g" $RPM_BUILD_ROOT %{_libdir}/pkgconfig/libgssapi.pc That line should do the trick. ~spot -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list