[packages/libdex] - use _gidocdir for apidocs
qboosh
qboosh at pld-linux.org
Wed Sep 27 19:49:06 CEST 2023
commit 15cb87019b142a3dcd27b22821492a47ceedce02
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Sep 27 19:29:49 2023 +0200
- use _gidocdir for apidocs
libdex.spec | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/libdex.spec b/libdex.spec
index 1eb3655..7e804af 100644
--- a/libdex.spec
+++ b/libdex.spec
@@ -20,7 +20,7 @@ BuildRequires: liburing-devel >= 0.7
BuildRequires: meson >= 0.62.0
BuildRequires: ninja >= 1.5
BuildRequires: rpm-build >= 4.6
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 2.029
%{?with_sysprof:BuildRequires: sysprof-devel >= 3.38}
BuildRequires: tar >= 1:1.22
BuildRequires: vala
@@ -98,9 +98,8 @@ rm -rf $RPM_BUILD_ROOT
%ninja_install -C build
%if %{with apidocs}
-# FIXME: where to package gi-docgen generated docs?
-install -d $RPM_BUILD_ROOT%{_gtkdocdir}
-%{__mv} $RPM_BUILD_ROOT%{_docdir}/libdex-* $RPM_BUILD_ROOT%{_gtkdocdir}
+install -d $RPM_BUILD_ROOT%{_gidocdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/libdex-* $RPM_BUILD_ROOT%{_gidocdir}
%endif
%clean
@@ -131,5 +130,5 @@ rm -rf $RPM_BUILD_ROOT
%if %{with apidocs}
%files apidocs
%defattr(644,root,root,755)
-%{_gtkdocdir}/libdex-1
+%{_gidocdir}/libdex-1
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libdex.git/commitdiff/15cb87019b142a3dcd27b22821492a47ceedce02
More information about the pld-cvs-commit
mailing list