commit b937eeba83452393456c001ae2fce29f30c5fb4e Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Wed Sep 27 19:28:37 2023 +0200
- use _gidocdir for apidocs libadwaita.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) --- diff --git a/libadwaita.spec b/libadwaita.spec index ac291fa..94ff3fa 100644 --- a/libadwaita.spec +++ b/libadwaita.spec @@ -21,7 +21,7 @@ BuildRequires: meson >= 0.59.0 BuildRequires: ninja >= 1.5 BuildRequires: pkgconfig BuildRequires: rpm-build >= 4.6 -BuildRequires: rpmbuild(macros) >= 1.736 +BuildRequires: rpmbuild(macros) >= 2.029 BuildRequires: sassc BuildRequires: tar >= 1:1.22 # vala with gtk4 bindings @@ -107,9 +107,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}/libadwaita-1 $RPM_BUILD_ROOT%{_gtkdocdir} +install -d $RPM_BUILD_ROOT%{_gidocdir} +%{__mv} $RPM_BUILD_ROOT%{_docdir}/libadwaita-1 $RPM_BUILD_ROOT%{_gidocdir} %endif %find_lang %{name} @@ -145,5 +144,5 @@ rm -rf $RPM_BUILD_ROOT %if %{with apidocs} %files apidocs %defattr(644,root,root,755) -%{_gtkdocdir}/libadwaita-1 +%{_gidocdir}/libadwaita-1 %endif ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/libadwaita.git/commitdiff/b937eeba83452393456c001ae2fce29f30c5fb4e _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit