commit 19ae8c4b70ee2cabb1996115fa12218b0a2c1958
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Wed Sep 27 19:44:26 2023 +0200

    - use _gidocdir for apidocs

 libnotify.spec | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/libnotify.spec b/libnotify.spec
index b9aa999..ee4183b 100644
--- a/libnotify.spec
+++ b/libnotify.spec
@@ -28,7 +28,7 @@ BuildRequires:        meson >= 0.56.0
 BuildRequires: ninja >= 1.5
 BuildRequires: pkgconfig
 BuildRequires: rpm-build >= 4.6
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 2.029
 BuildRequires: sed >= 4.0
 BuildRequires: tar >= 1:1.22
 BuildRequires: xmlto
@@ -95,7 +95,6 @@ Summary:      libnotify API documentation
 Summary(hu.UTF-8):     libnotify API dokumentáció
 Summary(pl.UTF-8):     Dokumentacja API biblioteki libnotify
 Group:         Documentation
-Requires:      gtk-doc-common
 BuildArch:     noarch
 
 %description apidocs
@@ -130,9 +129,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libnotify/spec
 
 %if %{with apidocs}
-# FIXME: where to package gi-docgen generated docs?
-install -d $RPM_BUILD_ROOT%{_gtkdocdir}
-%{__mv} $RPM_BUILD_ROOT%{_docdir}/libnotify-0 $RPM_BUILD_ROOT%{_gtkdocdir}
+install -d $RPM_BUILD_ROOT%{_gidocdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/libnotify-0 $RPM_BUILD_ROOT%{_gidocdir}
 %endif
 
 %clean
@@ -166,5 +164,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/libnotify-0
+%{_gidocdir}/libnotify-0
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libnotify.git/commitdiff/19ae8c4b70ee2cabb1996115fa12218b0a2c1958

_______________________________________________
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