]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: disable "make check" for rhel8
authorKefu Chai <kchai@redhat.com>
Sat, 28 Sep 2019 14:01:31 +0000 (22:01 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 17 Jun 2020 13:42:05 +0000 (21:42 +0800)
following packages are not available on RHEL/CentOS 8, they are for
dashboard unit tests. so disable all python packages for dashboard
tests for now:

python-cherrypy
python-coverage
python-pecan
python-routes
python-tox
xmlsec1-devel

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit e92cb7a0336406a2981e9241031497b1749b26aa)

Conflicts:
ceph.spec.in: trivial resolution

ceph.spec.in

index 35a31d3484bcabb854efb8bc448dc5cb7c8e24ae..3f5a07ee33ed5b557e2e49b5d1eb1b1fa902108d 100644 (file)
@@ -205,13 +205,15 @@ BuildRequires:  librdkafka-devel
 BuildRequires:  jq
 BuildRequires: libuuid-devel
 BuildRequires: python%{_python_buildid}-bcrypt
-BuildRequires: python%{_python_buildid}-coverage
 BuildRequires: python%{_python_buildid}-nose
-BuildRequires: python%{_python_buildid}-pecan
 BuildRequires: python%{_python_buildid}-requests
 BuildRequires: python%{_python_buildid}-six
-BuildRequires: python%{_python_buildid}-tox
 BuildRequires: python%{_python_buildid}-virtualenv
+%if 0%{?rhel} < 8
+BuildRequires: python%{_python_buildid}-coverage
+BuildRequires: python%{_python_buildid}-pecan
+BuildRequires: python%{_python_buildid}-tox
+%endif
 %if 0%{?rhel} == 7
 BuildRequires:  pyOpenSSL%{_python_buildid}
 %else
@@ -286,7 +288,7 @@ BuildRequires:      lz4-devel >= 1.7
 %endif
 # distro-conditional make check dependencies
 %if 0%{with make_check}
-%if 0%{?fedora} || 0%{?rhel}
+%if 0%{?fedora} || 0%{?rhel} == 7
 BuildRequires: python%{_python_buildid}-cherrypy
 BuildRequires: python%{_python_buildid}-jwt
 BuildRequires: python%{_python_buildid}-routes