[packages/flatpak] drop api reference coming from dist when building without apidocs
atler
atler at pld-linux.org
Sat Sep 14 14:32:52 CEST 2024
commit 9678113c9a865cc2419b08a13b1f2c89c5bcf518
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Sep 14 14:27:19 2024 +0200
drop api reference coming from dist when building without apidocs
flatpak.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/flatpak.spec b/flatpak.spec
index edf9200..0576caf 100644
--- a/flatpak.spec
+++ b/flatpak.spec
@@ -210,6 +210,8 @@ rm -rf $RPM_BUILD_ROOT
# obsoleted by pkg-config
%{__rm} $RPM_BUILD_ROOT%{_libdir}/libflatpak.la
+%{!?with_apidocs:%{__rm} -r $RPM_BUILD_ROOT%{_gtkdocdir}/flatpak}
+
%find_lang %{name}
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/flatpak.git/commitdiff/9678113c9a865cc2419b08a13b1f2c89c5bcf518
More information about the pld-cvs-commit
mailing list