From 4230e4d6aa8cd9b2ebcb7868a4bf3016d2b6ff8d Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Mon, 30 Mar 2015 17:36:03 -0600 Subject: [PATCH] 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 --- build_rpms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5