[Bug 451413] New: New RPM SPEC file for ghc-compression package

bugzilla at redhat.com bugzilla at redhat.com
Sat Jun 14 10:02:23 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=451413

           Summary: New RPM SPEC file for ghc-compression package
           Product: Fedora
           Version: rawhide
          Platform: All
               URL: http://hackage.haskell.org/cgi-bin/hackage-
                    scripts/package/compression
        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


Version-Release number of selected component (if applicable):
0.1


Steps to Reproduce:
1.  Download 
http://hackage.haskell.org/packages/archive/compression/0.1/compression-0.1.tar.gz
    to rpmbuild/SOURCES folder.
2.  Copy attached <this-package>-<this-version>.spec to rpmbuild/SPECS folder.
3.  Copy the attached *.patch files to the rpmbuild/SOURCES folder (if any).
3.  Execute:
rpmbuild --clean  --target=$(uname -i) -ba \
    rpmbuild/SPECS/<this-package>-<this-version>.spec
  
Actual results:
--

Expected results:
1. You should see the compiled RPM and SRPM binaries in the respective 
folders.
2. After installing the RPM package, you should be able to import the relevant 
module:
$ ghci
ghci>  :m + <module-name-from-package>


Additional info:
1. The same .SPEC should work for Fedora 9 also (I guess, but I tested only on 
Fedora-8).
2. CAUTION: In the file Compression/Deflate/Inflate.hs,  I modified the last 
line of repeat_w32s function from:
       return $ BS.fromChunks [fromForeignPtr fp len']
   to:
	   return $ BS.fromChunks [fromForeignPtr fp 0 len']
   in order to get this thing to compile.  I don't know if that is the right 
thing to do or if this would break the algorithm.
3. In file Utils.hs, I got rid of the LazyByteString and LPS usage as they 
don't seem to be available in the bytestring library anymore.

------- Additional Comments From fedora at krishnan.cc  2008-06-14 06:02 EST -------
Created an attachment (id=309337)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=309337&action=view)
ghc-compression-0.1-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