Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Download http://hackage.haskell.org/packages/archive/hsql/1.7/hsql-1.7.tar.gz to rpmbuild/SOURCES folder. 2. Copy attached ghc-hsql*.spec to rpmbuild/SPECS folder. 3. Copy attached ghc-hsql.1.7.cabal.patch file to the rpmbuild/SOURCES folder. 3. Execute: rpmbuild --clean --target=$(uname -i) -ba rpmbuild/SPECS/ghc-hsql*.spec Actual results: You should see the compiled RPM and SRPM binaries in the respective folders. Expected results: -- Additional info: 1. The same .SPEC should work for Fedora 9 also (I guess; I tested only on Fedora-8). 2. The hsql.cabal file needs to have the following 2 lines modified in order to compile successfully: build-depends: base, old-time ghc-options: -fglasgow-exts This is done by the patch file.
Created attachment 309155 [details] ghc-hsql-1.7-1.spec
Created attachment 309156 [details] ghc-hsql.1.7.cabal.patch Copy this patch file to SOURCES folder before compiling ghc-hsql.
I am mass-closing these submissions, as they are completely useless and do not follow any of the packaging guidelines. Do not attempt to reopen them.