]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
build/ops: rpm: package crypto on x86_64 only 14779/head
authorNathan Cutler <ncutler@suse.com>
Tue, 25 Apr 2017 14:39:25 +0000 (16:39 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 25 Apr 2017 14:47:36 +0000 (16:47 +0200)
commit4b79ac9a72c2ea71955fa6104f46818552b7a0b5
treed4246fb6f15a2213c0b3aa043113431bc11441df
parent138b7b9f4d11316326575d93c26c233d8fd16e76
build/ops: rpm: package crypto on x86_64 only

ca40e12845e78e507a0c3f45efa1689979029874 added the following lines to the spec
file:

%dir %{_libdir}/ceph/crypto
%{_libdir}/ceph/crypto/libceph_*.so*

and 350932979b377b292edd12dc8c612945cd793e7a made it so those build artifacts
are generated on x86_64 only.

The result is a build failure on non-x86_64 architectures:

error: Directory not found: /home/abuild/rpmbuild/BUILDROOT/ceph-12.0.2+git.1493119152.181baf6-1.1.ppc64le/usr/lib64/ceph/crypto
error: File not found by glob: /home/abuild/rpmbuild/BUILDROOT/ceph-12.0.2+git.1493119152.181baf6-1.1.ppc64le/usr/lib64/ceph/crypto/libceph_*.so*

Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in