Skip to content

Commit

Permalink
rpmbuild on el6 does not have --undefine
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasselmeci committed Jun 25, 2019
1 parent fd571aa commit ccd9cd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_inside_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ccd9cd2

Please sign in to comment.