]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: add fmt-devel as build deps 37281/head
authorKefu Chai <kchai@redhat.com>
Mon, 21 Sep 2020 16:08:09 +0000 (00:08 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 21 Sep 2020 17:01:51 +0000 (01:01 +0800)
since libfmt > 5.0.0 is packaged by CentOS/RHEL8 and openSUSE/SLE
we can just use it instead of our own version. also, since libfmt is
used out side of crimson project, no need to guard it using "with
seastar" anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in

index 58fca75882becfc81e35ea3e99944f2c18e95f50..c88929e974b4212788bf9bd524bbb79fb12e0459 100644 (file)
@@ -153,6 +153,7 @@ BuildRequires:      libaio-devel
 BuildRequires: libblkid-devel >= 2.17
 BuildRequires: libcurl-devel
 BuildRequires: libcap-ng-devel
+BuildRequires: fmt-devel >= 5.2.1
 BuildRequires: pkgconfig(libudev)
 BuildRequires: libnl3-devel
 BuildRequires: liboath-devel
@@ -207,7 +208,6 @@ BuildRequires:  ragel
 BuildRequires:  systemtap-sdt-devel
 BuildRequires:  yaml-cpp-devel
 %if 0%{?fedora} || 0%{?rhel} >= 8
-BuildRequires:  fmt-devel
 BuildRequires:  libubsan
 BuildRequires:  libasan
 BuildRequires:  libatomic