Skip to content

Commit d658b84

Browse files
committed
Mock (<= v6.6) relies on existing resolv.conf with --hermetic-build
Related: https://bugzilla.redhat.com/show_bug.cgi?id=2433808 Related: rpm-software-management/mock#1697
1 parent 2b345c2 commit d658b84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Containerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ RUN sed -i 's/# Note: These calls will alter the results of any subsequent macro
4141
# Assert utility versions
4242
RUN test "$(rpm --eval '%[ v"'"$(rpm -q --qf '%{VERSION}\n' mock)"'" >= v"6.4" ]')" = "1"
4343

44+
RUN touch /etc/resolv.conf
45+
4446
RUN grep sys.exit /usr/lib/python3.*/site-packages/rpmautospec/specparser.py

0 commit comments

Comments
 (0)