Notes |
|
(0016353)
|
Eric NOULARD
|
2009-05-08 10:32
|
|
|
|
(0016354)
|
Eric NOULARD
|
2009-05-08 10:37
|
|
Patch against the CMake-2-6 branch is attached.
Tested with rpm 4.4.x for non-regression.
Needs testing with rpm 4.6.x even if user reported "same" patch to be working. |
|
|
(0016356)
|
Eric NOULARD
|
2009-05-08 11:55
|
|
Added plain CPackRPM.cmake file in order to ease user testing. |
|
|
(0016366)
|
Eric NOULARD
|
2009-05-10 09:11
|
|
Regarding the possible "impact" of this fix I did some historical
review about the usage of --buildroot argument with rpm.
rpm 2.5.6 does support --buildroot
rpm 3.0.x does support --buildroot
rpm 4.0.x does support --buildroot
rpm 4.3.x does support --buildroot
rpm 4.4.x does support --buildroot
Fedora Core 9 and before
Mandriva 2008 and before
rpm 4.6.0 does support --buildroot
Fedora Core 10 and after
Mandriva 2009 and after
rpm 4.7.0 does support --buildroot
???
I'm confident the parch is harmless because:
--buildroot command line option is supported since a LOT of time
I did kept %Buildroot in spec file even if it is now
ignored by rpm 4.6.x and up.
I would advise to commit this to both HEAD and CMake-2-6 because
more and more people will face the trouble with increased usage
of rpm 4.6.x in recent linux distros. |
|
|
(0016367)
|
Eric NOULARD
|
2009-05-10 09:11
|
|
Regarding the possible "impact" of this fix I did some historical
review about the usage of --buildroot argument with rpm.
rpm 2.5.6 does support --buildroot
rpm 3.0.x does support --buildroot
rpm 4.0.x does support --buildroot
rpm 4.3.x does support --buildroot
rpm 4.4.x does support --buildroot
Fedora Core 9 and before
Mandriva 2008 and before
rpm 4.6.0 does support --buildroot
Fedora Core 10 and after
Mandriva 2009 and after
rpm 4.7.0 does support --buildroot
???
I'm confident the patch is harmless because:
--buildroot command line option is supported since a LOT of time
I did kept %Buildroot in spec file even if it is now
ignored by rpm 4.6.x and up.
I would advise to commit this to both HEAD and CMake-2-6 because
more and more people will face the trouble with increased usage
of rpm 4.6.x in recent linux distros. |
|
|
(0016396)
|
Eric NOULARD
|
2009-05-12 10:07
|
|
|
|
(0016407)
|
Alex Neundorf
|
2009-05-12 15:14
|
|
Ok, I applied the patch to HEAD.
Please check that it works.
Only Bill can commit to the 2-6 branch, so please ask him about that.
Alex
|
|