[packages/evince] - use _gidocdir for apidocs

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


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

    - use _gidocdir for apidocs

 evince.spec | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/evince.spec b/evince.spec
index 0ac4c05..5133b33 100644
--- a/evince.spec
+++ b/evince.spec
@@ -51,7 +51,7 @@ BuildRequires:	pkgconfig
 BuildRequires:	poppler-glib-devel >= 22.02.0
 BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(find_lang) >= 1.23
-BuildRequires:	rpmbuild(macros) >= 1.752
+BuildRequires:	rpmbuild(macros) >= 2.029
 BuildRequires:	synctex-devel >= 1.19
 BuildRequires:	t1lib-devel
 BuildRequires:	tar >= 1:1.22
@@ -237,9 +237,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}/libev* $RPM_BUILD_ROOT%{_gtkdocdir}
+install -d $RPM_BUILD_ROOT%{_gidocdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/libev* $RPM_BUILD_ROOT%{_gidocdir}
 %endif
 
 # not supported by glibc (as of 2.37)
@@ -316,8 +315,8 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/libevdocument
-%{_gtkdocdir}/libevview
+%{_gidocdir}/libevdocument
+%{_gidocdir}/libevview
 %endif
 
 %files backend-djvu
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/evince.git/commitdiff/459b6913cbb0d5c7d42bf2cda6f733476b5ea1a2



More information about the pld-cvs-commit mailing list