]> git.pld-linux.org Git - packages/fwupd.git/commitdiff
fix build without apidocs
authorJan Palus <atler@pld-linux.org>
Wed, 9 Sep 2020 20:36:25 +0000 (22:36 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 9 Sep 2020 20:36:25 +0000 (22:36 +0200)
fwupd.spec

index 63dda245a8c08c138beb7900332b42cb7e96014a..938093bac0362ccfe511c00bd98fe4c0b61df085 100644 (file)
@@ -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)
This page took 0.207503 seconds and 4 git commands to generate.