fix build without apidocs
authorJan Palus <atler@pld-linux.org>
Fri, 1 May 2020 23:16:37 +0000 (23:16 +0000)
committerJan Palus <atler@pld-linux.org>
Fri, 1 May 2020 23:16:37 +0000 (23:16 +0000)
ModemManager.spec

index 40a94f362e4ac74680862d487c576f553866123f..525b463f64b84692c7d32139004e504cbb9e874c 100644 (file)
@@ -286,10 +286,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/mm-glib.pc
 %{_datadir}/gir-1.0/ModemManager-1.0.gir
 
+%if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/ModemManager
 %{_gtkdocdir}/libmm-glib
+%endif
 
 %files -n vala-libmm-glib
 %defattr(644,root,root,755)
This page took 0.056002 seconds and 4 git commands to generate.