]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
build_rpms.sh: terminate on unpackaged files 43/head
authorKen Dreyer <kdreyer@redhat.com>
Mon, 30 Mar 2015 23:36:03 +0000 (17:36 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Mon, 30 Mar 2015 23:46:44 +0000 (17:46 -0600)
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 <kdreyer@redhat.com>
build_rpms.sh

index b309161354332ab3b4b4f85eff685b5376c5d16e..9ddf6218feffbdafe48a545cb0bbf5a8a18537a5 100755 (executable)
@@ -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