[cmake-developers] [PATCH] CPackRPM: unset temporary component variable fixed

Brad King brad.king at kitware.com
Mon Nov 17 15:09:34 EST 2014


On 11/17/2014 02:46 PM, Gauthier Lamaison wrote:
> I've been trying to make multiple RPMs using components, but it appears
> that the component variables such as CPACK_RPM_<componentName>_PACKAGE_REQUIRES
> are not correctly unset. Worse, they are propagated to other components
> (that's how I found myself having my devel RPM package requirements in my
> libs RPM package...)
> 
> Please find attach a small patch that fixes the problem (at least in my case).

Thanks.  This looks like a more complete version of commit v2.8.9~136^2:

 CPackRPM: avoid leakage of RPM directive from one component to another.
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7321c94e
 CPackRPM bug - empty per-component REQUIRES
 http://www.cmake.org/Bug/view.php?id=13248

Would a CPackRPM maintainer please review the logic updates?

Thanks,
-Brad



More information about the cmake-developers mailing list