[packages/fwupd] - fwupd-detect-cet can't be built on ix86 - fix apidocs bcond

baggins baggins at pld-linux.org
Sat Jul 27 18:57:45 CEST 2024


commit 65c596ee39014cf1aee9cce8cad0cb6b9bd05d4a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Jul 27 18:33:48 2024 +0200

    - fwupd-detect-cet can't be built on ix86
    - fix apidocs bcond

 fwupd.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/fwupd.spec b/fwupd.spec
index 1cd8b99..94311a6 100644
--- a/fwupd.spec
+++ b/fwupd.spec
@@ -44,7 +44,7 @@ BuildRequires:	gcc >= 6:4.7
 BuildRequires:	gcc-multilib-64 >= 6:4.7
 %endif
 BuildRequires:	gettext-tools >= 0.19.7
-%{?with_doc:BuildRequires:	gi-docgen >= 2022.2}
+%{?with_apidocs:BuildRequires:	gi-docgen >= 2022.2}
 BuildRequires:	glib2-devel >= 1:2.55.0
 BuildRequires:	gnutls-devel >= 3.6.0
 BuildRequires:	gobject-introspection-devel >= 0.9.8
@@ -69,7 +69,7 @@ BuildRequires:	ninja >= 1.6
 BuildRequires:	pkgconfig
 BuildRequires:	polkit-devel >= 0.114
 BuildRequires:	python3 >= 1:3.0
-%{?with_doc:BuildRequires:	python3-markdown >= 3.2}
+%{?with_apidocs:BuildRequires:	python3-markdown >= 3.2}
 BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 2.029
 BuildRequires:	sqlite3-devel >= 3
@@ -271,7 +271,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/fwupdtool
 %dir %{_libexecdir}/fwupd
 %attr(755,root,root) %{_libexecdir}/fwupd/fwupd
-%ifarch %{ix86} %{x8664} x32
+%ifarch %{x8664} x32
 %attr(755,root,root) %{_libexecdir}/fwupd/fwupd-detect-cet
 %endif
 %attr(755,root,root) %{_libexecdir}/fwupd/fwupdoffline
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fwupd.git/commitdiff/65c596ee39014cf1aee9cce8cad0cb6b9bd05d4a



More information about the pld-cvs-commit mailing list