Spec Name or Url: http://people.redhat.com/petersen/haddock.spec SRPM Name or Url: http://people.redhat.com/petersen/haddock-0.7-1.src.rpm Description: Haddock is a tool for automatically generating documentation from annotated Haskell source code. It is primary intended for documenting libraries, but it should be useful for any kind of Haskell code. Haddock is needed to generate the documentation for ghc: ie it is actually a buildrequire for it (currently disabled).
Cannot download http://people.redhat.com/petersen/haddock.spec: Permission denied.
Oops, thanks Gemi for looking and sorry about that. Should be better now. :)
- rpmlint: W: haddock non-standard-dir-in-usr libexec However this is an omission of rpmlint. - Is it necessary to include the version number in the binary and the data directory names. - BuildRoot should be: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - Does %configure not work instead of ./configure --prefix=%{_prefix} --libdir=%{_libdir} ?
Thanks for the comments. I dropped the versioned binary wrapper. The version in the datadir is also due to upstream. I suppose it could go, but debian also has it fwiw. I corrected BuildRoot and made it use %configure. Also dropped the empty debuginfo package, and simplified the description. http://people.redhat.com/petersen/haddock.spec-1.1
%configure doesn't seem to work after all, the automatically generated parameters to configure make it fail, so revert to the previous explicit configure line. N.B. if you create a new src rpm for the new spec, I do not have to do it myself to submit it to mock.
Hmm, I was wondering about %configure too, though it worked ok on my fc4 box. Thanks for the careful review. I uploaded: http://people.redhat.com/petersen/haddock-0.7-1.2.src.rpm
It's looking good now. APPROVED
Thank you. haddock has been imported and built in devel.
haddock is needed to build older ghc with docs. Package Change Request ====================== Package Name: haddock New Branches: el4 Owners: petersen InitialCC: haskell-sig
Git done (by process-git-requests).