]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: Don't use noarch for ceph-mgr module subpackages
authorTim Serong <tserong@suse.com>
Wed, 13 Feb 2019 11:05:28 +0000 (22:05 +1100)
committerTim Serong <tserong@suse.com>
Wed, 13 Feb 2019 11:05:30 +0000 (22:05 +1100)
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>
ceph.spec.in

index 0d81ecbae863148f2f95094a92b4395701bad861..64ff45a960c9af534ab72f1ef0c615555ce387c5 100644 (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