Re: [RPM] Suggestion for postgresql rpm spec file
От | Thomas Lockhart |
---|---|
Тема | Re: [RPM] Suggestion for postgresql rpm spec file |
Дата | |
Msg-id | 3C876E2B.B37CA239@fourpalms.org обсуждение исходный текст |
Ответ на | [RPM] Suggestion for postgresql rpm spec file (<dave@moby5.fremenworks.org>) |
Список | pgsql-ports |
... > It seems like this should be a standard feature of most spec files, much > like the 'DESTDIR' feature of a well written Makefile. It allows lots > of needed flexibility with a very small cost. But only if it works for a particular application. I'm not *certain* that the relocatable feature of RPM can be used for PostgreSQL, though if it can I agree it would be desirable. One of the issues is this: for some applications, parameters set during the build process preclude their being relocated later on. For example, PGDATA is set to a default value during the configure step. If that parameter is required to have the correct value for applications to run, then the application can not be relocated in the RPM sense. We might agree that PGDATA is *not* required to match what was set at build time, but we would need to inventory the other dependencies to make sure that some other parameter is not constraining us. And then someone would need to test it out, though it sounds like you actually have tested this feature with one of your installations? Have you done so with all of the PostgreSQL RPMs? - Thomas
В списке pgsql-ports по дате отправления: