[CMake] is it possible to generate a noarch rpm?
Erik Sjölund
erik.sjolund at sbc.su.se
Wed May 7 09:47:09 EDT 2008
On Wed, 2008-05-07 at 15:09 +0200, Eric Noulard wrote:
> However if you know that the files you are installing are all of type "noarch"
> you should be able to force RPM arch to "noarch" by setting
>
> SET(CPACK_RPM_PACKAGE_ARCHITECTURE "noarch")
SET(CPACK_RPM_PACKAGE_ARCHITECTURE "noarch")
did not work out of the box. But after tweaking CPackRPM.cmake it works
( see attached patch ).
cheers,
Erik Sjölund
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildarch.patch
Type: text/x-patch
Size: 1138 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080507/024a0a88/attachment.bin>
More information about the CMake
mailing list