- Make sure compile time options don't change without notice.

OBS-URL: https://build.opensuse.org/package/show/network/dnsmasq?expand=0&rev=173
This commit is contained in:
Reinhard Max 2025-01-14 09:54:41 +00:00 committed by Git OBS Bridge
parent 5888b04e82
commit 37aea2c2d5
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Tue Jan 14 09:01:36 UTC 2025 - Reinhard Max <max@suse.com>
Tue Jan 14 09:53:47 UTC 2025 - Reinhard Max <max@suse.com>
- Use pkgconfig for libidn2.
- Make sure compile time options don't change without notice.
-------------------------------------------------------------------
Tue Oct 8 14:17:57 UTC 2024 - Lukas Straub <lukasstraub2@web.de>

View File

@ -124,6 +124,9 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie"
# same flags for make and make install, else everything gets recompiled
%define _copts "-DHAVE_DBUS -DHAVE_CONNTRACK -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DHAVE_LUASCRIPT -DHAVE_NFTSET"
%make_build AWK=gawk all-i18n CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" COPTS=%{_copts}
# Make sure that compile time options don't change unnoticed
./src/dnsmasq --version |
grep -q "Compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 Lua TFTP conntrack ipset nftset auth cryptohash DNSSEC loop-detect inotify dumpfile"
%if %{with tftp_user_package}
%sysusers_generate_pre %{SOURCE6} dnsmasq system-user-dnsmasq.conf
%endif