1
0
mirror of https://github.com/ceph/ceph synced 2025-04-01 23:02:17 +00:00

build/ops: rpm: move _epoch_prefix below Epoch definition

Signed-off-by: Nathan Cutler <ncutler@suse.com>
This commit is contained in:
Nathan Cutler 2017-06-01 21:37:09 +02:00
parent 92ebb7038e
commit 3e30232607

View 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}