From: Nathan Cutler Date: Tue, 20 Nov 2018 12:30:34 +0000 (+0100) Subject: build/ops: rpm: add link to doc explaining bcond syntax X-Git-Tag: v14.1.0~836^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8ea39207bf20ea53ef204d395ddaafe0d7b61d3d;p=ceph.git 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index a5ef095f34a9..6a18685316e3 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