Actually enable localization support in dnsmasq (#2131681)
This commit is contained in:
parent
8311b7dd12
commit
c4797a90af
13
dnsmasq.spec
13
dnsmasq.spec
@ -23,7 +23,7 @@
|
||||
|
||||
Name: dnsmasq
|
||||
Version: 2.89
|
||||
Release: 3%{?extraversion:.%{extraversion}}%{?dist}
|
||||
Release: 4%{?extraversion:.%{extraversion}}%{?dist}
|
||||
Summary: A lightweight DHCP/caching DNS server
|
||||
|
||||
# SPDX identifiers already
|
||||
@ -136,11 +136,13 @@ sed -i "s|\(#\s*define RUNFILE\) \"/var/run/dnsmasq.pid\"|\1 \"%{_rundir}/dnsmas
|
||||
sed -i 's|^COPTS[[:space:]]*=|\0 -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DHAVE_CONNTRACK|' Makefile
|
||||
|
||||
%build
|
||||
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
||||
%make_build -C contrib/lease-tools CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
||||
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" \
|
||||
%if %{with i18n}
|
||||
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" all-i18n
|
||||
all-i18n
|
||||
%else
|
||||
all
|
||||
%endif
|
||||
%make_build -C contrib/lease-tools CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
||||
|
||||
%install
|
||||
# normally i'd do 'make install'...it's a bit messy, though
|
||||
@ -215,6 +217,9 @@ install -Dpm 644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}.conf
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Apr 27 2023 Petr Menšík <pemensik@redhat.com> - 2.89-4
|
||||
- Actually enable localization support in dnsmasq (#2131681)
|
||||
|
||||
* Wed Apr 05 2023 Petr Menšík <pemensik@redhat.com> - 2.89-3
|
||||
- Add separate SPDX licenses also to translations
|
||||
- Include localized man pages simpler way, make them noarch
|
||||
|
Loading…
Reference in New Issue
Block a user