]> git.apps.os.sepia.ceph.com Git - autobuild-ceph.git/commitdiff
build-ceph-rpm.sh: terminate on unpackaged files 40/head
authorKen Dreyer <kdreyer@redhat.com>
Tue, 14 Apr 2015 23:22:06 +0000 (17:22 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Tue, 14 Apr 2015 23:22:06 +0000 (17:22 -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-ceph-rpm.sh

index 5b1673490fc83ceaa9346293b8e1d6b254a56481..fed6c5a720c0d2b052d709dfe4ec49809cf269f8 100755 (executable)
@@ -113,7 +113,7 @@ cp ceph.spec /tmp/ceph.spec
 
 # Build RPMs
 BUILDAREA=`readlink -fn ${BUILDAREA}`   ### rpm wants absolute path
-rpmbuild -ba --define "_topdir ${BUILDAREA}" --define "_unpackaged_files_terminate_build 0" ceph.spec
+rpmbuild -ba --define "_topdir ${BUILDAREA}" ceph.spec
 
 # Create and build an RPM for the repository
 
@@ -217,7 +217,7 @@ gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc
 EOF
 # End of ceph.repo file
 
-rpmbuild -bb --define "_topdir ${BUILDAREA}" --define "_unpackaged_files_terminate_build 0" ${BUILDAREA}/SPECS/ceph-release.spec
+rpmbuild -bb --define "_topdir ${BUILDAREA}" --define ${BUILDAREA}/SPECS/ceph-release.spec
 
 # Add Dependencies.