ceph.spec.in: Don't use noarch for ceph-mgr module subpackages

Even though ceph-mgr modules are notionally non-architecture-specific,
the files themselves are installed to an architecture-specific path
(/usr/lib64/ceph/mgr/....), which causes the build to fail on SUSE
distros with a huge long list of errors like:

ceph-mgr-diskprediction-cloud.noarch: E: suse-filelist-forbidden-noarch
(Badness: 10000) /usr/lib64/ceph/mgr/diskprediction_cloud is not
allowed in a noarch package
[...]
(none): E: badness 1120287 exceeds threshold 1000, aborting.

Signed-off-by: Tim Serong <tserong@suse.com>
This commit is contained in:
Tim Serong 2019-02-13 22:05:28 +11:00
parent 7e2b15f341
commit d38312566f

View File

@ -457,7 +457,6 @@ exposes all these to the python modules.
%package mgr-diskprediction-local
Summary: ceph-mgr diskprediction_local plugin
BuildArch: noarch
%if 0%{?suse_version}
Group: System/Filesystems
%endif
@ -470,7 +469,6 @@ disk failures using local algorithms and machine-learning databases.
%package mgr-diskprediction-cloud
Summary: ceph-mgr diskprediction_cloud plugin
BuildArch: noarch
%if 0%{?suse_version}
Group: System/Filesystems
%endif
@ -481,7 +479,6 @@ disk failures using services in the Google cloud.
%package mgr-rook
Summary: ceph-mgr rook plugin
BuildArch: noarch
%if 0%{?suse_version}
Group: System/Filesystems
%endif