Re: [CMake] Relocatable RPM

2010-08-17 Thread Eric Noulard
2010/8/17 Rolf Eike Beer : > Am Tuesday 17 August 2010 schrieb Eric Noulard: > >> set(CPACK_RPM_PACKAGE_RELOCATABLE TRUE) >> >> and CPackRPM will try to build a relocatable package. >> This will surely FAIL if: >>      - some file are installed with absolute path > > Do you mean the packaging will

Re: [CMake] Relocatable RPM

2010-08-17 Thread Rolf Eike Beer
Am Tuesday 17 August 2010 schrieb Eric Noulard: > set(CPACK_RPM_PACKAGE_RELOCATABLE TRUE) > > and CPackRPM will try to build a relocatable package. > This will surely FAIL if: > - some file are installed with absolute path Do you mean the packaging will fail or the installation? When you ha

Re: [CMake] Relocatable RPM

2010-08-17 Thread Eric Noulard
2010/8/17 Gerald Hofmann : > Hi Will, > > I found a way to make the RPM relocatable. > > This brings some light into rpm relocation: > http://www.rpm.org/max-rpm/ch-rpm-reloc.html > > The Prefix: tag gives the part of the file names which is replaced when > another prefix is specified. You can di

Re: [CMake] Relocatable RPM

2010-08-17 Thread Gerald Hofmann
Hi Will, I found a way to make the RPM relocatable. This brings some light into rpm relocation: http://www.rpm.org/max-rpm/ch-rpm-reloc.html The Prefix: tag gives the part of the file names which is replaced when another prefix is specified. You can divert CPACK_RPM_SPEC_MORE_DEFINE from its

Re: [CMake] Relocatable RPM

2010-02-11 Thread Eric Noulard
2010/2/11 Will Dicharry : > Is there a way to make an RPM package generated with CPack relocatable? Should be possible, theoretically. Currently the spec file generated by CPackRPM is not. As far as I remember relocatable RPM should avoid absolute file install and use %prefix directive. (correct

[CMake] Relocatable RPM

2010-02-11 Thread Will Dicharry
Is there a way to make an RPM package generated with CPack relocatable? Thanks in advance, -- Will -- Will Dicharry Software Developer Stellar Science Ltd Co smime.p7s Description: S/MIME Cryptographic Signature ___ Powered by www.kitware.com Visit