commit 094f127c670539d2acb0c3e861f327fce9bb7985
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Wed Sep 27 19:42:34 2023 +0200

    - use _gidocdir for apidocs

 libhinawa.spec | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/libhinawa.spec b/libhinawa.spec
index 4600671..e79f5c4 100644
--- a/libhinawa.spec
+++ b/libhinawa.spec
@@ -21,7 +21,7 @@ BuildRequires:        ninja >= 1.5
 BuildRequires: pkgconfig
 BuildRequires: python3-pygobject3-devel
 BuildRequires: rpm-build >= 4.6
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 2.029
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 Requires:      glib2 >= 1:2.44.0
@@ -91,9 +91,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}/libhinawa $RPM_BUILD_ROOT%{_gtkdocdir}
+install -d $RPM_BUILD_ROOT%{_gidocdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/libhinawa $RPM_BUILD_ROOT%{_gidocdir}
 %endif
 
 %clean
@@ -123,5 +122,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/libhinawa
+%{_gidocdir}/libhinawa
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libhinawa.git/commitdiff/094f127c670539d2acb0c3e861f327fce9bb7985

_______________________________________________
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