From 8311b7dd1299c68ab73b0d2fd0413033c630a27a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Wed, 5 Apr 2023 18:03:05 +0200 Subject: [PATCH] Include localized man pages simpler way Make language packs noarch also --- dnsmasq.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dnsmasq.spec b/dnsmasq.spec index 8de6239..8b36513 100644 --- a/dnsmasq.spec +++ b/dnsmasq.spec @@ -91,6 +91,7 @@ server's leases. %package langpack Summary: Translations for few languages License: LicenseRef-Fedora-Public-Domain AND GPL-2.0-or-later +BuildArch: noarch Requires: %{name} = %{version}-%{release} # Will not do separate packages for every single language, those translations are small enough Supplements: (%{name} = %{version}-%{release} and (langpacks-de or langpacks-es or langpacks-fi or langpacks-fr or langpacks-id or langpacks-it or langpacks-ka or langpacks-no or langpacks-pl or langpacks-pt_BR or langpacks-ro) ) @@ -174,7 +175,7 @@ install -Dpm 644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}.conf %if %{with i18n} %make_install PREFIX=/usr install-i18n -%find_lang %{name} +%find_lang %{name} --with-man %endif %pre @@ -211,12 +212,12 @@ install -Dpm 644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}.conf %if %{with i18n} %files langpack -f %{name}.lang -%{_mandir}/{es,fr}/man8/dnsmasq* %endif %changelog * Wed Apr 05 2023 Petr Menšík - 2.89-3 - Add separate SPDX licenses also to translations +- Include localized man pages simpler way, make them noarch * Mon Apr 03 2023 Petr Menšík - 2.89-2 - Limit offered EDNS0 size 1232 (CVE-2023-28450)