From: Nathan Cutler Date: Thu, 1 Jun 2017 19:37:09 +0000 (+0200) Subject: build/ops: rpm: move _epoch_prefix below Epoch definition X-Git-Tag: ses5-milestone6~9^2~18^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F15417%2Fhead;p=ceph.git build/ops: rpm: move _epoch_prefix below Epoch definition Signed-off-by: Nathan Cutler --- diff --git a/ceph.spec.in b/ceph.spec.in index dbbd615fb793..ce517b3a7857 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -58,9 +58,6 @@ # disable dwz which compresses the debuginfo %global _find_debuginfo_dwz_opts %{nil} -# define %_epoch_prefix macro which will expand to the empty string if %epoch is undefined -%global _epoch_prefix %{?epoch:%{epoch}:} - ################################################################################# # main package definition ################################################################################# @@ -70,6 +67,10 @@ Release: @RPM_RELEASE@%{?dist} %if 0%{?fedora} || 0%{?rhel} Epoch: 1 %endif + +# define %_epoch_prefix macro which will expand to the empty string if %epoch is undefined +%global _epoch_prefix %{?epoch:%{epoch}:} + Summary: User space components of the Ceph file system License: LGPL-2.1 and CC-BY-SA-1.0 and GPL-2.0 and BSL-1.0 and GPL-2.0-with-autoconf-exception and BSD-3-Clause and MIT %if 0%{?suse_version}