[packages/feedbackd] - use _gidocdir for apidocs

qboosh qboosh at pld-linux.org
Wed Sep 27 19:29:46 CEST 2023


commit c3c1b60a8d90cc5382d6d1aec39f3b00a20299eb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Sep 27 19:08:43 2023 +0200

    - use _gidocdir for apidocs

 feedbackd.spec | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/feedbackd.spec b/feedbackd.spec
index 50e0a28..75befb1 100644
--- a/feedbackd.spec
+++ b/feedbackd.spec
@@ -28,7 +28,7 @@ BuildRequires:	meson >= 0.56.1
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	rpmbuild(macros) >= 2.029
 BuildRequires:	vala
 Requires(post,postun):	glib2 >= 1:2.50.0
 Requires:	libfeedback = %{version}-%{release}
@@ -117,9 +117,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}/libfeedback-0 $RPM_BUILD_ROOT%{_gtkdocdir}
+install -d $RPM_BUILD_ROOT%{_gidocdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/libfeedback-0 $RPM_BUILD_ROOT%{_gidocdir}
 %endif
 
 %clean
@@ -169,5 +168,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with apidocs}
 %files -n libfeedback-apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/libfeedback-0
+%{_gidocdir}/libfeedback-0
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/feedbackd.git/commitdiff/c3c1b60a8d90cc5382d6d1aec39f3b00a20299eb



More information about the pld-cvs-commit mailing list