[CentOS] Peculiar situation while build httpd-2.2.6 from provided spec
Anup Shukla
anup at iamcool.netTue Oct 2 02:01:23 UTC 2007
- Previous message: [CentOS] Cross-platform GUI libraries with drag 'n drop IDEs
- Next message: [CentOS] Peculiar situation while build httpd-2.2.6 from provided spec
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 ../..%{_localstatedir}/log/httpd $RPM_BUILD_ROOT/etc/httpd/logs ln -s ../..%{_localstatedir}/run $RPM_BUILD_ROOT/etc/httpd/run ln -s ../..%{_libdir}/httpd/modules $RPM_BUILD_ROOT/etc/httpd/modules ln -s ../..%{_libdir}/httpd/build $RPM_BUILD_ROOT/etc/httpd/build <<......>> 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 got built cleanly. Does this qualify as a bug? Anyone else faced the same problem? Regards. A.S.
- Previous message: [CentOS] Cross-platform GUI libraries with drag 'n drop IDEs
- Next message: [CentOS] Peculiar situation while build httpd-2.2.6 from provided spec
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list