Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=595603
--- Comment #25 from Lakshmi Narasimhan lakshminaras2002@gmail.com 2010-09-01 07:04:49 EDT --- This is another approach (going by your first suggestion). Under %install
rm -rf $RPM_BUILD_ROOT %ghc_lib_install cp COPYING ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version} echo "%doc %{_docdir}/%{name}-%{version}/COPYING" >> ghc-hslogger.files
Using this approach, I didn't have to explicitly mention COPYRIGHT in the %doc directive. I tried to put only %doc COPYING. But this deleted the doc/ghc-hslogger-1.1.0 directory and COPYRIGHT got deleted as well. My understanding is that cabal install put the COPYRIGHT file into the directory in the first place and the final stage of packaging was unable to find COPYRIGHT.
haskell-devel@lists.fedoraproject.org