From: Ken Dreyer Date: Mon, 30 Mar 2015 23:36:03 +0000 (-0600) Subject: build_rpms.sh: terminate on unpackaged files X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4230e4d6aa8cd9b2ebcb7868a4bf3016d2b6ff8d;p=ceph-build.git build_rpms.sh: terminate on unpackaged files As Ceph changes and new files get installed by default, we need to ensure that the commits which create these files also update the packaging files lists as well. One way to do this is to tell Gitbuilder to stop skipping unpackaged files in the RPMs. This will cause Gitbuilder builds to indicate a failure when new files get added without packaging updates. Signed-off-by: Ken Dreyer --- diff --git a/build_rpms.sh b/build_rpms.sh index b3091613..9ddf6218 100755 --- a/build_rpms.sh +++ b/build_rpms.sh @@ -30,6 +30,6 @@ cp -a rpm/*.patch ${BUILDAREA}/SOURCES/. || true # Build RPMs BUILDAREA=`readlink -fn ${BUILDAREA}` ### rpm wants absolute path cd ${BUILDAREA}/SPECS -rpmbuild -ba --define "_topdir ${BUILDAREA}" --define "_unpackaged_files_terminate_build 0" ceph.spec +rpmbuild -ba --define "_topdir ${BUILDAREA}" ceph.spec echo done