commit 5bec1bbc39730c85b86c4954677b2447b541db1d Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Wed Sep 27 19:24:11 2023 +0200
- use _gidocdir for apidocs json-glib.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) --- diff --git a/json-glib.spec b/json-glib.spec index 77ec9b1..a5ef0a6 100644 --- a/json-glib.spec +++ b/json-glib.spec @@ -24,7 +24,7 @@ BuildRequires: ninja >= 1.5 BuildRequires: pkgconfig BuildRequires: python3 >= 1:3 BuildRequires: rpm-build >= 4.6 -BuildRequires: rpmbuild(macros) >= 1.752 +BuildRequires: rpmbuild(macros) >= 2.029 BuildRequires: tar >= 1:1.22 BuildRequires: xz Requires: glib2 >= 1:2.54.0 @@ -99,9 +99,8 @@ rm -rf $RPM_BUILD_ROOT %find_lang %{name}-1.0 %if %{with apidocs} -# FIXME: where to package gi-docgen generated docs? -install -d $RPM_BUILD_ROOT%{_gtkdocdir} -%{__mv} $RPM_BUILD_ROOT%{_docdir}/json-glib-1.0 $RPM_BUILD_ROOT%{_gtkdocdir} +install -d $RPM_BUILD_ROOT%{_gidocdir} +%{__mv} $RPM_BUILD_ROOT%{_docdir}/json-glib-1.0 $RPM_BUILD_ROOT%{_gidocdir} %endif %clean @@ -135,5 +134,5 @@ rm -rf $RPM_BUILD_ROOT %if %{with apidocs} %files apidocs %defattr(644,root,root,755) -%{_gtkdocdir}/json-glib-1.0 +%{_gidocdir}/json-glib-1.0 %endif ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/json-glib.git/commitdiff/5bec1bbc39730c85b86c4954677b2447b541db1d _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit