Shouldn't this: cp /etc/pki/tls/private/*.key /etc/xxxxx/key.d be cp /etc/pki/tls/private/*.key $RPM_BUILD_ROOT/etc/xxxxx/key.d How else do you expect your files to get into the staging area? Actually, I don't see how your build was succeeding at all, since you are writing into /etc. You are not building this as root, are you? rpmbuild would fail with "installed but unpackaged files found", I think, unless you did something that intentionally disabled that. pj -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list