From 3e30232607ad4b547898d2c751d4fc41dbe8290e Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Thu, 1 Jun 2017 21:37:09 +0200 Subject: [PATCH] build/ops: rpm: move _epoch_prefix below Epoch definition Signed-off-by: Nathan Cutler --- ceph.spec.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index dbbd615fb793c..ce517b3a78579 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}