[packages/gssdp] - use _gidocdir for apidocs

qboosh qboosh at pld-linux.org
Wed Sep 27 19:40:15 CEST 2023


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

    - use _gidocdir for apidocs

 gssdp.spec | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gssdp.spec b/gssdp.spec
index 3f26d04..617f73a 100644
--- a/gssdp.spec
+++ b/gssdp.spec
@@ -25,7 +25,7 @@ BuildRequires:	meson >= 0.54.0
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	rpmbuild(macros) >= 2.029
 BuildRequires:	tar >= 1:1.22
 %{?with_vala:BuildRequires:	vala >= 2:0.20}
 BuildRequires:	xz
@@ -124,9 +124,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}/gssdp-1.2 $RPM_BUILD_ROOT%{_gtkdocdir}
+install -d $RPM_BUILD_ROOT%{_gidocdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/gssdp-1.2 $RPM_BUILD_ROOT%{_gidocdir}
 %endif
 
 %clean
@@ -162,7 +161,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/gssdp-1.2
+%{_gidocdir}/gssdp-1.2
 %endif
 
 %if %{with vala}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gssdp.git/commitdiff/f9d1172a5ce930ac20ff3224a94a939510c8603f



More information about the pld-cvs-commit mailing list