+++ This bug was initially created as a clone of Bug #1680586 +++ Description of problem: Building RPM packages with _for_fedora_koji_builds enabled fails on el6. A mock rebuild fails with these errors: Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/glusterfs-6.0-0.1.rc0.el6.x86_64 BUILDSTDERR: error: Installed (but unpackaged) file(s) found: BUILDSTDERR: /etc/init.d/glusterfsd BUILDSTDERR: /etc/sysconfig/glusterd BUILDSTDERR: /etc/sysconfig/glusterfsd BUILDSTDERR: Installed (but unpackaged) file(s) found: BUILDSTDERR: /etc/init.d/glusterfsd BUILDSTDERR: /etc/sysconfig/glusterd BUILDSTDERR: /etc/sysconfig/glusterfsd Version-Release number of selected component (if applicable): glusterfs-6.0 RC0 How reproducible: 100% Steps to Reproduce: 1. set _for_fedora_koji_builds to 1 in the glusterfs.spec.in 2. build RPMs against/on el6 Actual results: Building RPMs fails Expected results: Building RPMs should succeed. Additional info: It seems that glusterfs-6 disables building the server (./configure --without-server) and hence the installed but unpackaged files should not get installed in the first place.
REVIEW: https://review.gluster.org/22260 (build: do not install service related files when building --without-server) posted (#1) for review on master by Niels de Vos
REVIEW: https://review.gluster.org/22260 (build: do not install service related files when building --without-server) merged (#2) on master by Amar Tumballi