Java Mailing List Archive

http://www.redhatconfig.com/

Home » Mandriva Cooker »

Re: [Cooker] Postgresql files location

Anssi Hannula

2008-06-12

Replies: Find Java Web Hosting

Author LoginPost Reply
Adam Williamson wrote:
> On Thu, 2008-06-12 at 20:00 +0200, Olivier Thauvin wrote:
>> Oden just pointed me on irc that some files of postgresql are not in the
>> default location:
>>
>>      --datadir=%{_datadir}/pgsql \
>>      --includedir=%{_includedir}/pgsql \
>>      --sysconfdir=%{_sysconfdir}/pgsql \
>>
>> This is annoying for C headers files, forcing us to patches or add extra
>> options to all software/specs files or software related to postgresql.
>>
>> I don't see any reasons to not back to a standard location. So I do plan to
>> remove theses line from postgresql 8.3 spec file to kill this issue.
>> This mean many rpm will need to be fixed.
>>
>> Does anyone disagree ?
>
> Well, it might be nice to know why we have it this way currently:
> presumably it was originally done for some kind of legitimate reason?

I traced the history of our postgresql.spec, and actually they were
moved by jbj in 1998, but no real reason was stated in changelog:

* Fri Jun 19 1998 Jeff Johnson <jbj(at)redhat(dot)com>
- configure had "--prefix=$RPM_BUILD_ROOT/usr"
- move all include files below /usr/include/pgsql.
- resurrect perl client file lists.

--
Anssi Hannula
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.