commit 4dc3bc1d3f3ccfbaf8aa95db8f13cdc10b6d1109
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Wed Sep 27 19:09:17 2023 +0200

    - use _gidocdir for apidocs

 fwupd.spec | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/fwupd.spec b/fwupd.spec
index 6f83dde..a378733 100644
--- a/fwupd.spec
+++ b/fwupd.spec
@@ -71,7 +71,7 @@ BuildRequires:        polkit-devel >= 0.114
 BuildRequires: python3 >= 1:3.0
 %{?with_doc:BuildRequires:     python3-markdown >= 3.2}
 BuildRequires: rpm-build >= 4.6
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 2.029
 BuildRequires: sqlite3-devel >= 3
 BuildRequires: systemd-devel >= 1:209
 BuildRequires: systemd-units >= 1:211
@@ -247,9 +247,8 @@ for pdoc in plugins/*/README.md ; do
 done
 
 %if %{with apidocs}
-# FIXME: where to package gi-docgen generated docs?
-install -d $RPM_BUILD_ROOT%{_gtkdocdir}
-%{__mv} $RPM_BUILD_ROOT%{_docdir}/*fwupd* $RPM_BUILD_ROOT%{_gtkdocdir}
+install -d $RPM_BUILD_ROOT%{_gidocdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/*fwupd* $RPM_BUILD_ROOT%{_gidocdir}
 %endif
 
 %find_lang %{name}
@@ -386,9 +385,9 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/fwupd
-%{_gtkdocdir}/libfwupd
-%{_gtkdocdir}/libfwupdplugin
+%{_gidocdir}/fwupd
+%{_gidocdir}/libfwupd
+%{_gidocdir}/libfwupdplugin
 %endif
 
 %files -n vala-fwupd
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to