Correct bootstrap option

Some tools moved from python dependency to tools, but they broken option
to make the build without UI tools.
This commit is contained in:
Petr Menšík 2022-12-09 14:34:35 +01:00
parent e9b6c7fb60
commit df02cf92b5

View File

@ -576,11 +576,14 @@ rm -fv %{buildroot}%{_sysconfdir}/rc.d/init.d/avahi-dnsconfd
%check %check
%if %{WITH_PYTHON} %if %{without bootstrap}
for i in %{buildroot}%{_datadir}/applications/*.desktop ; do for i in %{buildroot}%{_datadir}/applications/b*.desktop ; do
desktop-file-validate $i desktop-file-validate $i
done done
%endif %endif
%if %{WITH_PYTHON}
desktop-file-validate %{buildroot}%{_datadir}/applications/avahi-discover.desktop
%endif
%pre %pre
@ -701,6 +704,7 @@ exit 0
%{_mandir}/man1/avahi-resolve-host-name.1* %{_mandir}/man1/avahi-resolve-host-name.1*
%{_mandir}/man1/avahi-set-host-name.1* %{_mandir}/man1/avahi-set-host-name.1*
%if %{without bootstrap}
%files ui-tools %files ui-tools
%{_bindir}/bshell %{_bindir}/bshell
%{_bindir}/bssh %{_bindir}/bssh
@ -719,6 +723,7 @@ exit 0
%{_datadir}/applications/avahi-discover.desktop %{_datadir}/applications/avahi-discover.desktop
%{python2_sitelib}/avahi_discover/ %{python2_sitelib}/avahi_discover/
%endif %endif
%endif
%files devel %files devel
%{_libdir}/libavahi-common.so %{_libdir}/libavahi-common.so
@ -869,6 +874,7 @@ exit 0
* Sun Mar 19 2023 Petr Menšík <pemensik@redhat.com> - 0.8-22 * Sun Mar 19 2023 Petr Menšík <pemensik@redhat.com> - 0.8-22
- Prevent crashes on some invalid DBus calls - Prevent crashes on some invalid DBus calls
- Provide versioned howl compatibility package - Provide versioned howl compatibility package
- Correct bootstrap option
* Sun Mar 19 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 0.8-21 * Sun Mar 19 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 0.8-21
- Disable GTK2 in ELN/RHEL10 builds - Disable GTK2 in ELN/RHEL10 builds