[packages/tracker3] - use _gidocdir for apidocs

qboosh qboosh at pld-linux.org
Wed Sep 27 20:15:39 CEST 2023


commit f5b111f6bb5d982f4daac583350321db6ae1b9d7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Sep 27 19:58:47 2023 +0200

    - use _gidocdir for apidocs

 tracker3.spec | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/tracker3.spec b/tracker3.spec
index 6575cc6..0724a31 100644
--- a/tracker3.spec
+++ b/tracker3.spec
@@ -42,7 +42,7 @@ BuildRequires:	pkgconfig
 BuildRequires:	python3 >= 1:3.2
 BuildRequires:	python3-pygobject3
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 2.011
+BuildRequires:	rpmbuild(macros) >= 2.029
 BuildRequires:	sqlite3-devel >= 3.35.2
 BuildRequires:	tar >= 1:1.22
 %{?with_vala:BuildRequires:	vala >= 2:0.18.0}
@@ -129,7 +129,6 @@ Narzędzia testowe Trackera 3.
 Summary:	Tracker 3 library API documentation
 Summary(pl.UTF-8):	Dokumentacja API biblioteki Trackera 3
 Group:		Documentation
-Requires:	gtk-doc-common
 BuildArch:	noarch
 
 %description apidocs
@@ -191,9 +190,8 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with apidocs}
-# FIXME: where to package gi-docgen generated docs?
-install -d $RPM_BUILD_ROOT%{_gtkdocdir}
-%{__mv} $RPM_BUILD_ROOT%{_docdir}/Tracker-* $RPM_BUILD_ROOT%{_gtkdocdir}
+install -d $RPM_BUILD_ROOT%{_gidocdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/Tracker-* $RPM_BUILD_ROOT%{_gidocdir}
 %endif
 
 %find_lang tracker3
@@ -271,7 +269,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/Tracker-3.0
+%{_gidocdir}/Tracker-3.0
 %endif
 
 %files -n bash-completion-tracker3
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tracker3.git/commitdiff/f5b111f6bb5d982f4daac583350321db6ae1b9d7



More information about the pld-cvs-commit mailing list