[CMake] Issue using CPackRPM with rpmbuild 4.7.1 and a small patch

Eric Noulard eric.noulard at gmail.com
Mon Nov 9 14:05:44 EST 2009


2009/11/9  <forrest at forrestheller.com>:
> Thank you very much for CMake--I love it.
>
> I need to build RPMs using CPack.  This worked using rpmbuild 4.4.2.1 and
> the latest CVS version of CMake.
>
> But when I installed rpmbuild 4.7.1 I found that, prior to the %install
> phase, rpmbuild clears your entire buildroot directory.   This is
> problematic, as CMake does not build the buildroot directory after
> %install. See http://osdir.com/ml/fedora-packaging/2009-09/msg00001.html
> for a full discussion.

I'll have look.
But we did fix some issue with post 4.4.x rpmbuild versions:
http://public.kitware.com/Bug/view.php?id=8967
http://public.kitware.com/Bug/view.php?id=9031

> My patch is basically stolen from
> http://cvs.fedoraproject.org/viewvc/rpms/kernel/F-12/kernel.spec?revision=1.1913&view=co
> The point of the patch is to override the build stage that clears the
> buildroot directory

OK can you open a new bug for CPackRPM and attach your patch proposal to it?

If yes then reply to this message in order to give us the bug number.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list