]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
build/ops: rpm: move _epoch_prefix below Epoch definition 15417/head
authorNathan Cutler <ncutler@suse.com>
Thu, 1 Jun 2017 19:37:09 +0000 (21:37 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 1 Jun 2017 19:37:09 +0000 (21:37 +0200)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in

index dbbd615fb793caf0e58fe669c3f5e870b9c16699..ce517b3a78579904649d05c511fa6ca45214ad7d 100644 (file)
@@ -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}