Set compile-time fallback hostname to "localhost"

This ensures that we have a universal unbranded fallback hostname.
The branded fallback hostname will be set in os-release(5) instead.

Reference: https://fedoraproject.org/wiki/Changes/FallbackHostname
This commit is contained in:
Neal Gompa 2022-08-09 19:53:46 -04:00 committed by ngompa
parent 76ce06c4a6
commit f5157f6a05
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ CONFIGURE_OPTS=(
-Dversion-tag=%{version}-%{release}
# https://bugzilla.redhat.com/show_bug.cgi?id=1906010
-Dshared-lib-tag=%{version_no_tilde}-%{release}
-Dfallback-hostname=%[0%{?fedora}?"fedora":"localhost"]
-Dfallback-hostname="localhost"
-Ddefault-dnssec=no
-Ddefault-dns-over-tls=no
# https://bugzilla.redhat.com/show_bug.cgi?id=1867830