From 9d5f375276f2b3f31ba033af57120ecc392c3242 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Wed, 9 Dec 2020 18:35:42 +0100 Subject: [PATCH] fix build without apidocs --- gexiv2.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gexiv2.spec b/gexiv2.spec index c1eb875..38ccb2f 100644 --- a/gexiv2.spec +++ b/gexiv2.spec @@ -169,9 +169,11 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libgexiv2.a %endif +%if %{with apidocs} %files apidocs %defattr(644,root,root,755) %{_gtkdocdir}/gexiv2 +%endif %files -n python-gexiv2 %defattr(644,root,root,755) -- 2.44.0