commit b22e04f3f158bdb65e02decb48d08d7e9cf8ed6d
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Wed Sep 27 19:20:51 2023 +0200

    - use _gidocdir for apidocs

 gssdp1.6.spec | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gssdp1.6.spec b/gssdp1.6.spec
index 734c1f2..25fc443 100644
--- a/gssdp1.6.spec
+++ b/gssdp1.6.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.6 $RPM_BUILD_ROOT%{_gtkdocdir}
+install -d $RPM_BUILD_ROOT%{_gidocdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/gssdp-1.6 $RPM_BUILD_ROOT%{_gidocdir}
 %endif
 
 %clean
@@ -156,7 +155,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/gssdp-1.6
+%{_gidocdir}/gssdp-1.6
 %endif
 
 %if %{with vala}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gssdp1.6.git/commitdiff/b22e04f3f158bdb65e02decb48d08d7e9cf8ed6d

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to