From ccd9cd2a26a74ecdb03cb5cc4b991b07f635085c Mon Sep 17 00:00:00 2001 From: Matyas Selmeci Date: Tue, 25 Jun 2019 17:42:03 -0500 Subject: [PATCH] rpmbuild on el6 does not have --undefine --- tests/test_inside_docker.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_inside_docker.sh b/tests/test_inside_docker.sh index 74d78ac32..658597c60 100755 --- a/tests/test_inside_docker.sh +++ b/tests/test_inside_docker.sh @@ -126,7 +126,8 @@ git archive --format=tar --prefix=htcondor-ce-${package_version}/ HEAD | \ popd # Build the SRPM; don't put a dist tag in it -rpmbuild --define '_topdir /tmp/rpmbuild' --undefine dist -bs /tmp/rpmbuild/SPECS/htcondor-ce.spec +# rpmbuild on el6 does not have --undefine +rpmbuild --define '_topdir /tmp/rpmbuild' --define 'dist %{nil}' -bs /tmp/rpmbuild/SPECS/htcondor-ce.spec # Build the binary RPM rpmbuild --define '_topdir /tmp/rpmbuild' -bb /tmp/rpmbuild/SPECS/htcondor-ce.spec