From 8ea39207bf20ea53ef204d395ddaafe0d7b61d3d Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Tue, 20 Nov 2018 13:30:34 +0100 Subject: [PATCH] build/ops: rpm: add link to doc explaining bcond syntax The %bcond_with and %bcond_without macros are confusing to folks who don't do a lot of RPM packaging work. Let's try to help these folks out! Signed-off-by: Nathan Cutler --- ceph.spec.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index a5ef095f34a..6a18685316e 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -14,6 +14,13 @@ # # Please submit bugfixes or comments via http://tracker.ceph.com/ # + +################################################################################# +# conditional build section +# +# please read http://rpm.org/user_doc/conditional_builds.html for explanation of +# bcond syntax! +################################################################################# %bcond_without ocf %bcond_with make_check %ifarch s390 s390x -- 2.39.5