From df02cf92b5b22dd8b3675c8be7239bf9c16924df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Fri, 9 Dec 2022 14:34:35 +0100 Subject: [PATCH] Correct bootstrap option Some tools moved from python dependency to tools, but they broken option to make the build without UI tools. --- avahi.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/avahi.spec b/avahi.spec index ec0579c..76231ca 100644 --- a/avahi.spec +++ b/avahi.spec @@ -576,10 +576,13 @@ rm -fv %{buildroot}%{_sysconfdir}/rc.d/init.d/avahi-dnsconfd %check +%if %{without bootstrap} + for i in %{buildroot}%{_datadir}/applications/b*.desktop ; do + desktop-file-validate $i + done +%endif %if %{WITH_PYTHON} -for i in %{buildroot}%{_datadir}/applications/*.desktop ; do -desktop-file-validate $i -done + desktop-file-validate %{buildroot}%{_datadir}/applications/avahi-discover.desktop %endif @@ -701,6 +704,7 @@ exit 0 %{_mandir}/man1/avahi-resolve-host-name.1* %{_mandir}/man1/avahi-set-host-name.1* +%if %{without bootstrap} %files ui-tools %{_bindir}/bshell %{_bindir}/bssh @@ -719,6 +723,7 @@ exit 0 %{_datadir}/applications/avahi-discover.desktop %{python2_sitelib}/avahi_discover/ %endif +%endif %files devel %{_libdir}/libavahi-common.so @@ -869,6 +874,7 @@ exit 0 * Sun Mar 19 2023 Petr Menšík - 0.8-22 - Prevent crashes on some invalid DBus calls - Provide versioned howl compatibility package +- Correct bootstrap option * Sun Mar 19 2023 Yaakov Selkowitz - 0.8-21 - Disable GTK2 in ELN/RHEL10 builds