From 1e1540dfc8fe29cd98c04e2a9ccbcb8bb369c340 Mon Sep 17 00:00:00 2001 From: Christopher Meng Date: Thu, 20 Feb 2014 11:59:43 +0800 Subject: [PATCH] Use %doc macro to install docs --- gengetopt.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gengetopt.spec b/gengetopt.spec index d377522..9c35b50 100644 --- a/gengetopt.spec +++ b/gengetopt.spec @@ -47,6 +47,8 @@ make %install make install INSTALL="%{__install} -p" DESTDIR=%{buildroot} rm -f %{buildroot}%{_infodir}/dir +# Use %%doc macro to install instead. +rm -f %{buildroot}%{_docdir}/%{name} mkdir ./examples pushd ./doc