]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec.in: %enable_devtoolset11 only if the macro is defined
authorKefu Chai <tchaikov@gmail.com>
Wed, 10 Aug 2022 14:35:14 +0000 (22:35 +0800)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 10 Aug 2022 20:46:46 +0000 (16:46 -0400)
commitd3f80b790f6c8cd1d2eac6069bbd428edfc570ea
treea8d6db56f2ad9cf2b62fad77804e874f4a15e78f
parentbd0471238a60f3cc5ac44c5279f86268c042ab11
ceph.spec.in: %enable_devtoolset11 only if the macro is defined

there is chance that we are using `yum-builddep` to prepare the
build dependencies. in that case, gcc-toolset-11-build is not
installed. it's like a chicken-egg dilemma, but the point is
`yum-builddep` is able to pull in the gcc-toolset-11-build. once
gcc-toolset-11-build is installed, we will have the %enable_devtoolset11
rpm macro.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 75dd92353381c6ec5ac7251585a276059b8a2253)
ceph.spec.in