[Pdns-users] Building pdns RPMs using custom LDAP libraries/headers

a b tripivceta at hotmail.com
Fri Mar 22 16:34:54 UTC 2013


> %_prefix        /%{MY_BASE}
I should also add that you should pick a top-level directory in opt, like for example "blabla" or some other generic name (usually your organization's name, acronym, or most preferrably, lower case version of your organization's stock symbol, if you have one), and all RPM's you build should end up in the following hierachy, I am using a made-up name "blabla" in the example:
/opt/blabla/sbin/opt/blabla/bin/opt/blabla/lib/opt/blabla/lib64/opt/blabla/libexec/etc/opt/blabla/openldap/etc/opt/blabla/pdns/var/opt/blabla/openldap/var/opt/blabla/pdns
With %MY_BASE (or more appropriately to this example, %BLABLA_BASE) being set to opt/blabla, all SRPM's one (re)builds from that point on should be able to correctly find their files under the /opt/blabla/ hierarchy. This includes libraries. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130322/663bccd0/attachment-0001.html>


More information about the Pdns-users mailing list