]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: re-enable "make check" deps for el8
authorKefu Chai <kchai@redhat.com>
Tue, 24 Dec 2019 05:17:55 +0000 (13:17 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 26 Dec 2019 06:03:08 +0000 (14:03 +0800)
this change partially reverts e92cb7a0. as these packages are now
available in AppStream, BaseOS or PowerTools in el8, in this change,
they are re-enabled.

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

index e47d8206a2dc4a7bd835bbc9e4d121f431002aed..2112d1a22fbc3834dd95f383e5e17e179ffda85b 100644 (file)
@@ -277,18 +277,20 @@ BuildRequires:    lz4-devel >= 1.7
 # distro-conditional make check dependencies
 %if 0%{with make_check}
 %if 0%{?fedora} || 0%{?rhel}
-%if 0%{?fedora} || 0%{?rhel} == 7
 BuildRequires: libtool-ltdl-devel
-BuildRequires: python%{python3_pkgversion}-cherrypy
-BuildRequires: python%{python3_pkgversion}-jwt
-BuildRequires: python%{python3_pkgversion}-routes
-BuildRequires: python%{python3_pkgversion}-werkzeug
 BuildRequires: xmlsec1
 BuildRequires: xmlsec1-devel
+%ifarch x86_64
 BuildRequires: xmlsec1-nss
+%endif
 BuildRequires: xmlsec1-openssl
 BuildRequires: xmlsec1-openssl-devel
+BuildRequires: python%{python3_pkgversion}-jwt
+BuildRequires: python%{python3_pkgversion}-werkzeug
 BuildRequires:  python%{python3_pkgversion}-pyOpenSSL
+%if 0%{?fedora} || 0%{?rhel} == 7
+BuildRequires: python%{python3_pkgversion}-cherrypy
+BuildRequires: python%{python3_pkgversion}-routes
 %endif
 %endif
 %if 0%{?suse_version}