https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=206527 Bug(s) fixed: 206527 Bug Description: Enable rpmbuild of directory server Reviewed by: ??? Files: see diff Branch: HEAD Fix Description: You can set env. vars. to override all of the LIB and INCLUDE paths with the make -e flag. I moved all of the external component packaging stuff into the packageDirectory target of ldap/cm/Makefile, and moved the "packaging" of the internal files into the releaseDirectory target. So the releaseDirectory target will now copy all of the ldapserver binaries and runtime files into their correct places under RELDIR, which is then used to create the rpm. There were a couple of other places that needed to change the way a particular file was packaged in order to make sure it was packaged in the core ds and not as an external component. Also attached to the bug is a sample fedora-ds.spec. Platforms tested: RHEL4 Flag Day: no - existing builds should continue to work as normal Doc impact: no