From: Peter van Dijk Date: Thu, 19 Oct 2023 18:21:28 +0000 (+0200) Subject: support libquiche on amazon2023; stop generating dep for it on el8+amzn2023 X-Git-Tag: dnsdist-1.9.0-alpha3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d5708212a3b9e0ce78c8c9e8ae2f00c275f1eaf;p=thirdparty%2Fpdns.git support libquiche on amazon2023; stop generating dep for it on el8+amzn2023 --- diff --git a/builder-support/specs/dnsdist.spec b/builder-support/specs/dnsdist.spec index f03301fcc7..1893a10fcc 100644 --- a/builder-support/specs/dnsdist.spec +++ b/builder-support/specs/dnsdist.spec @@ -101,7 +101,7 @@ export RANLIB=gcc-ranlib --with-libsodium \ --with-net-snmp \ %endif -%if 0%{?rhel} >= 8 +%if 0%{?rhel} >= 8 || 0%{?amzn} == 2023 --enable-dns-over-quic \ --with-quiche \ %endif @@ -116,7 +116,7 @@ make %{?_smp_mflags} check || (cat test-suite.log && false) %install %make_install install -d %{buildroot}/%{_sysconfdir}/dnsdist -%if 0%{?rhel} >= 8 +%if 0%{?rhel} >= 8 || 0%{?amzn} == 2023 install -Dm644 /usr/lib/libdnsdist-quiche.so %{buildroot}/%{_libdir}/libdnsdist-quiche.so %endif %{__mv} %{buildroot}%{_sysconfdir}/dnsdist/dnsdist.conf-dist %{buildroot}%{_sysconfdir}/dnsdist/dnsdist.conf @@ -158,7 +158,8 @@ systemctl daemon-reload ||: %{!?_licensedir:%global license %%doc} %doc README.md %{_bindir}/* -%if 0%{?rhel} >= 8 +%if 0%{?rhel} >= 8 || 0%{?amzn} == 2023 +%define __requires_exclude libdnsdist-quiche\\.so %{_libdir}/libdnsdist-quiche.so %endif %{_mandir}/man1/*