commit 5124e2fbbc578759636d1b2dce5c5b07662c4e33
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Wed Sep 27 19:05:15 2023 +0200

    - use _gidocdir for apidocs

 at-spi2-core.spec | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/at-spi2-core.spec b/at-spi2-core.spec
index dba01a2..12ba4ed 100644
--- a/at-spi2-core.spec
+++ b/at-spi2-core.spec
@@ -23,7 +23,7 @@ BuildRequires:        meson >= 0.63.0
 BuildRequires: ninja >= 1.5
 BuildRequires: pkgconfig
 BuildRequires: rpm-build >= 4.6
-BuildRequires: rpmbuild(macros) >= 2.011
+BuildRequires: rpmbuild(macros) >= 2.029
 BuildRequires: tar >= 1:1.22
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXi-devel
@@ -268,9 +268,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}/{atk,libatspi} $RPM_BUILD_ROOT%{_gtkdocdir}
+install -d $RPM_BUILD_ROOT%{_gidocdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/{atk,libatspi} $RPM_BUILD_ROOT%{_gidocdir}
 %endif
 
 %find_lang %{name}
@@ -329,7 +328,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/libatspi
+%{_gidocdir}/libatspi
 %endif
 
 %files -n at-spi2-atk
@@ -375,5 +374,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with apidocs}
 %files -n atk-apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/atk
+%{_gidocdir}/atk
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/at-spi2-core.git/commitdiff/5124e2fbbc578759636d1b2dce5c5b07662c4e33

_______________________________________________
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