From 00c5e567ed0bc6252361afdc71d40fe2662e35cf Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 31 Mar 2013 15:12:19 +0200 Subject: [PATCH 1/1] - docs *are* installed in Th (when apidocs build is enabled, so clean conditionally) --- wayland.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wayland.spec b/wayland.spec index cf8ea07..9f5bf60 100644 --- a/wayland.spec +++ b/wayland.spec @@ -113,6 +113,10 @@ rm -rf $RPM_BUILD_ROOT # obsoleted by pkg-config %{__rm} $RPM_BUILD_ROOT%{_libdir}/libwayland-*.la +%if %{with apidocs} +# packaged as %doc in -devel +%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/wayland +%endif %clean rm -rf $RPM_BUILD_ROOT -- 2.44.0