Bug 451152

Summary: Review Request: ghc-hsql - Simple library for database access from Haskell
Product: [Fedora] Fedora Reporter: Rajesh Krishnan <raj.dev.redhat>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: fedora-package-review, notting
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hsql
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-17 23:23:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 451394, 451397, 451398, 451400    
Attachments:
Description Flags
ghc-hsql-1.7-1.spec
none
ghc-hsql.1.7.cabal.patch none

Description Rajesh Krishnan 2008-06-13 01:26:50 UTC
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.

Comment 1 Rajesh Krishnan 2008-06-13 01:26:50 UTC
Created attachment 309155 [details]
ghc-hsql-1.7-1.spec

Comment 2 Rajesh Krishnan 2008-06-13 01:28:31 UTC
Created attachment 309156 [details]
ghc-hsql.1.7.cabal.patch

Copy this patch file to SOURCES folder before compiling ghc-hsql.

Comment 3 Bryan O'Sullivan 2008-06-17 23:23:49 UTC
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.