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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx
        ReportedBy: fedora@xxxxxxxxxxx
         QAContact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: fedora-package-review@xxxxxxxxxx,notting@xxxxxxxxxx


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@xxxxxxxxxxx  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.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]