[Bug 451152] New: New RPM SPEC file for ghc-hsql package

bugzilla at redhat.com bugzilla at redhat.com
Fri Jun 13 01:26:50 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.




https://bugzilla.redhat.com/show_bug.cgi?id=451152

           Summary: New RPM SPEC file for ghc-hsql package
           Product: Fedora
           Version: rawhide
          Platform: All
               URL: http://hackage.haskell.org/cgi-bin/hackage-
                    scripts/package/hsql
        OS/Version: Linux
            Status: NEW
          Severity: low
          Priority: low
         Component: Package Review
        AssignedTo: nobody at fedoraproject.org
        ReportedBy: fedora at krishnan.cc
         QAContact: extras-qa at fedoraproject.org
                CC: fedora-package-review at redhat.com,notting at redhat.com


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.

------- Additional Comments From fedora at krishnan.cc  2008-06-12 21:26 EST -------
Created an attachment (id=309155)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=309155&action=view)
ghc-hsql-1.7-1.spec


-- 
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, or are watching someone who is.




More information about the Fedora-package-review mailing list