Description of problem: rpmlint post build on SuSE build system reports an _error_: glusterfs.x86_64: E: arch-dependent-file-in-usr-share (Badness: 590) /usr/share/glusterfs/scripts/gsync-sync-gfid This package installs an ELF binary in the /usr/share hierarchy, which is reserved for architecture-independent files. Version-Release number of selected component (if applicable): 3.8.x, 3.9, master How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: gsync-sync-gfid should probably be installed in /usr/libexec/ganesha/... or similar. Additional info: https://build.opensuse.org/build/home:kkeithleatredhat:Leap42.1-3.8/openSUSE_Leap_42.1/x86_64/GlusterFS-3.8.5/_log
``` glusterfs.spec.in:1205: %{_datadir}/glusterfs/scripts/gsync-sync-gfid ``` The above line is the reason for this rpmlint error, and we should consider changing it to different location if that is the norm.
REVIEW: https://review.gluster.org/23059 (build: move gsync-sync-gfid from /usr/share to /usr/libexec) posted (#1) for review on master by Sheetal Pamecha
REVIEW: https://review.gluster.org/23059 (build: move arch-dependent files from /usr/share to /usr/libexec) merged (#4) on master by Amar Tumballi