Re: [CentOS] Peculiar situation while build httpd-2.2.6 from provided spec

2007-10-02 Thread Anup Shukla
Matthew Miller wrote: Do you have redhat-rpm-config installed? Or let me put that more strongly. :) Clearly, you do not have redhat-rpm-config installed. You need it. Jz! Never knew about it. Thanks a million Matthew. Regards, A.S ___ Cent

Re: [CentOS] Peculiar situation while build httpd-2.2.6 from provided spec

2007-10-01 Thread Matthew Miller
On Tue, Oct 02, 2007 at 10:01:23AM +0800, Anup Shukla wrote: > It had me scratching my head for quite a while before figuring out that > the %_sysconfdir macro wrongly gets translated to /usr/etc (should be /etc) > Putting "%_sysconfdir /etc" in my .rpmmacros file did the trick and the > package go

[CentOS] Peculiar situation while build httpd-2.2.6 from provided spec

2007-10-01 Thread Anup Shukla
Hi all, While build a rpm from the httpd-2.2.6 sources (spec file included in the source package), i had a situation where packaging would fail at the step where several link are created for "logs" etc directories. <<..snip from httpd.spec...>> # symlinks for /etc/httpd ln -s ../..%{_localstate