]> git.pld-linux.org Git - packages/ghex.git/commitdiff
- use _gidocdir for apidocs
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 27 Sep 2023 17:15:03 +0000 (19:15 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 27 Sep 2023 17:15:03 +0000 (19:15 +0200)
ghex.spec

index 0e8067643c7a952d7734d007f2f99d1299d37c3d..be020dcd676551731526d0932b203f24c26e4dcb 100644 (file)
--- 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
This page took 0.212926 seconds and 4 git commands to generate.