[packages/fwupd] fix build without apidocs

atler atler at pld-linux.org
Wed Sep 9 22:44:53 CEST 2020


commit 5dbae069b5a7e20d9e68f3d09ef0feaaef7facda
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Sep 9 22:36:25 2020 +0200

    fix build without apidocs

 fwupd.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/fwupd.spec b/fwupd.spec
index 63dda24..938093b 100644
--- a/fwupd.spec
+++ b/fwupd.spec
@@ -421,9 +421,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/fwupd.pc
 %{_pkgconfigdir}/fwupdplugin.pc
 
+%if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/fwupd
+%endif
 
 %files -n vala-fwupd
 %defattr(644,root,root,755)
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list