2010/3/3 Alexander Neundorf <a.neundorf-w...@gmx.net>: >> >> RPM generator does not support custom rpmbuild parameter >> but it support custom spec file so depending on the solution (if it exists) >> it may already be possible or not :-) > > Ok, found it, thanks to the friendly guys from SUSE :-) > > For bzip2: > %define _binary_payload w9.bzdio > > for gzip: > %define _binary_payload w9.gzdio > > for lzma: > %define _binary_payload w9.lzdio > > I've set this using the CPACK_RPM_SPEC_MORE_DEFINE variable.
That's definitely the appropriate spaceholder. > Maybe this could be supported via something like a CPACK_RPM_COMPRESSION_TYPE > variable ? Yes I'll add it to my TODO list. May be I'll have to check whether if it's supported by other RPM based distros (Mandriva, RedHat, CentOS, Fedora etc...) in order to make it robust, i.e. ignoring i tif not supported. Would you be kind enough to file a feature request and assign it to me? I'll try to bundle this during my next CPackRPM working session. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake