[packages/ghex] - use _gidocdir for apidocs
qboosh
qboosh at pld-linux.org
Wed Sep 27 19:35:34 CEST 2023
commit ce8bc42fb633e3623b6718ff26c338142991c7db
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Sep 27 19:15:03 2023 +0200
- use _gidocdir for apidocs
ghex.spec | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/ghex.spec b/ghex.spec
index 0e80676..be020dc 100644
--- a/ghex.spec
+++ b/ghex.spec
@@ -24,7 +24,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: tar >= 1:1.22
BuildRequires: vala
BuildRequires: xz
@@ -127,9 +127,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}/gtkhex-4.0 $RPM_BUILD_ROOT%{_gtkdocdir}
+install -d $RPM_BUILD_ROOT%{_gidocdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/gtkhex-4.0 $RPM_BUILD_ROOT%{_gidocdir}
%endif
# not supported by glibc (as of 2.37)
@@ -190,5 +189,5 @@ rm -rf $RPM_BUILD_ROOT
%if %{with apidocs}
%files apidocs
%defattr(644,root,root,755)
-%{_gtkdocdir}/gtkhex-4.0
+%{_gidocdir}/gtkhex-4.0
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghex.git/commitdiff/ce8bc42fb633e3623b6718ff26c338142991c7db
More information about the pld-cvs-commit
mailing list