commit 462c5e995833592ce28aa98e69afb1bba2556d67 Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Wed Sep 27 19:43:11 2023 +0200
- use _gidocdir for apidocs libhinoko.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) --- diff --git a/libhinoko.spec b/libhinoko.spec index 4e91a4b..fbf074c 100644 --- a/libhinoko.spec +++ b/libhinoko.spec @@ -22,7 +22,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 @@ -90,9 +90,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}/hinoko $RPM_BUILD_ROOT%{_gtkdocdir} +install -d $RPM_BUILD_ROOT%{_gidocdir} +%{__mv} $RPM_BUILD_ROOT%{_docdir}/hinoko $RPM_BUILD_ROOT%{_gidocdir} %endif %clean @@ -122,5 +121,5 @@ rm -rf $RPM_BUILD_ROOT %if %{with apidocs} %files apidocs %defattr(644,root,root,755) -%{_gtkdocdir}/hinoko +%{_gidocdir}/hinoko %endif ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/libhinoko.git/commitdiff/462c5e995833592ce28aa98e69afb1bba2556d67 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit