On Thu, Aug 18, 2005 at 05:51:53PM +0800, Adrian Mak wrote: > since i'm new to bulding rpm spec > I read httpd.spec in apache tarball > > --prefix=%{_sysconfdir}/httpd \ > --with-apr=/usr/bin/apr-config \ > --with-apr-util=/usr/bin/apu-config \ > --exec-prefix=%{_prefix} \ > --bindir=%{_bindir} \ > --sbindir=%{_sbindir} \ > --mandir=%{_mandir} \ > --libdir=%{_libdir} \ > --sysconfdir=%{_sysconfdir}/httpd/conf \ > --includedir=%{_includedir}/httpd \ > --libexecdir=%{_libdir}/httpd/modules \ > --datadir=%{contentdir} \ > --with-mpm=$mpm \ > --enable-suexec --with-suexec \ > --with-suexec-caller=%{suexec_caller} \ > --with-suexec-docroot=%{contentdir} \ > --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \ > --with-suexec-bin=%{_sbindir}/suexec \ > > what are those ${_xxxxxxxxx} ? > where are they get value from ? You mean %{...} (percent, which is *totally* different from ${...}, dollar)? See /usr/lib/rpm/macros, /usr/lib/rpm/*/macros, etc. -- -- Jos Vos <jos@xxxxxx> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list