[Fedora-haskell-list] [Bug 595603] Review Request: ghc-hslogger - Haskell logging framework

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 1 11:04:50 UTC 2010


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 at 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.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the haskell-devel mailing list