]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph.spec.in: use DTS-7 on aarch64 also
authorKefu Chai <kchai@redhat.com>
Fri, 22 Dec 2017 05:05:02 +0000 (13:05 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 30 Dec 2017 15:20:07 +0000 (23:20 +0800)
see https://bugs.centos.org/view.php?id=14078

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

index edac753b4102dd2f2874aa2e56a43528df10ad78..70ab1799eace2ba7d421ce375d7d88a463b06664 100644 (file)
@@ -122,16 +122,7 @@ BuildRequires:     fuse-devel
 %if 0%{?rhel} == 7
 # devtoolset offers newer make and valgrind-devel, but the old ones are good
 # enough.
-%ifarch x86_64
-BuildRequires: devtoolset-7-gcc-c++
-%endif
-%ifarch aarch64
-%if 0%{?centos}
-BuildRequires: devtoolset-6-gcc-c++
-%else
 BuildRequires: devtoolset-7-gcc-c++
-%endif
-%endif
 %else
 BuildRequires: gcc-c++
 %endif
@@ -798,17 +789,8 @@ python-rbd, python-rgw or python-cephfs instead.
 %build
 
 %if 0%{?rhel} == 7
-%ifarch x86_64
-. /opt/rh/devtoolset-7/enable
-%endif
-%ifarch aarch64
-%if 0%{?centos}
-. /opt/rh/devtoolset-6/enable
-%else
 . /opt/rh/devtoolset-7/enable
 %endif
-%endif
-%endif
 
 %if 0%{with cephfs_java}
 # Find jni.h