Jens Petersen 2023-07-24 00:37:21 +08:00
parent 7df3b9bc56
commit 4d7e25a1c9
4 changed files with 6 additions and 120 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@
/primitive-0.7.0.1.tar.gz
/primitive-0.7.1.0.tar.gz
/primitive-0.7.3.0.tar.gz
/primitive-0.8.0.0.tar.gz

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.1.0
# generated by cabal-rpm-2.1.2
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name primitive
@ -7,7 +7,7 @@
# testsuite missing deps: quickcheck-classes-base
Name: ghc-%{pkg_name}
Version: 0.7.3.0
Version: 0.8.0.0
Release: %autorelease
Summary: Primitive memory-related operations
@ -15,7 +15,6 @@ License: BSD-3-Clause
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
@ -23,10 +22,12 @@ BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-transformers-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-transformers-prof
%endif
# End cabal-rpm deps
@ -73,7 +74,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup

View File

@ -1,115 +0,0 @@
Cabal-Version: 2.2
Name: primitive
Version: 0.7.3.0
x-revision: 2
License: BSD-3-Clause
License-File: LICENSE
Author: Roman Leshchinskiy <rl@cse.unsw.edu.au>
Maintainer: libraries@haskell.org
Copyright: (c) Roman Leshchinskiy 2009-2012
Homepage: https://github.com/haskell/primitive
Bug-Reports: https://github.com/haskell/primitive/issues
Category: Data
Synopsis: Primitive memory-related operations
Build-Type: Simple
Description: This package provides various primitive memory-related operations.
Extra-Source-Files: changelog.md
test/*.hs
test/LICENSE
Tested-With:
GHC == 7.10.3,
GHC == 8.0.2,
GHC == 8.2.2,
GHC == 8.4.4,
GHC == 8.6.5,
GHC == 8.8.4,
GHC == 8.10.7
Library
Default-Language: Haskell2010
Other-Extensions:
BangPatterns, CPP, DeriveDataTypeable,
MagicHash, TypeFamilies, UnboxedTuples, UnliftedFFITypes
Exposed-Modules:
Control.Monad.Primitive
Data.Primitive
Data.Primitive.MachDeps
Data.Primitive.Types
Data.Primitive.Array
Data.Primitive.ByteArray
Data.Primitive.PrimArray
Data.Primitive.SmallArray
Data.Primitive.Ptr
Data.Primitive.MutVar
Data.Primitive.MVar
Other-Modules:
Data.Primitive.Internal.Operations
Build-Depends: base >= 4.8 && < 4.17
, deepseq >= 1.1 && < 1.5
, transformers >= 0.4.2 && < 0.7
if !impl(ghc >= 8.0)
Build-Depends: fail == 4.9.*
Ghc-Options: -O2
Include-Dirs: cbits
Install-Includes: primitive-memops.h
includes: primitive-memops.h
c-sources: cbits/primitive-memops.c
if !os(solaris)
cc-options: -ftree-vectorize
if arch(i386) || arch(x86_64)
cc-options: -msse2
test-suite test-qc
Default-Language: Haskell2010
hs-source-dirs: test
test/src
main-is: main.hs
Other-Modules: PrimLaws
type: exitcode-stdio-1.0
build-depends: base
, base-orphans
, ghc-prim
, primitive
, quickcheck-classes-base >= 0.6 && <0.7
, QuickCheck >= 2.13 && < 2.15
, tasty ^>= 1.2 || ^>= 1.3 || ^>= 1.4
, tasty-quickcheck
, tagged
, transformers >= 0.4
, transformers-compat
if !impl(ghc >= 8.0)
build-depends: semigroups
cpp-options: -DHAVE_UNARY_LAWS
ghc-options: -O2
benchmark bench
Default-Language: Haskell2010
hs-source-dirs: bench
main-is: main.hs
type: exitcode-stdio-1.0
ghc-options: -O2
other-modules:
Array.Traverse.Closure
Array.Traverse.Unsafe
ByteArray.Compare
PrimArray.Compare
PrimArray.Traverse
build-depends:
base
, primitive
, deepseq
, tasty-bench
, transformers >= 0.3
source-repository head
type: git
location: https://github.com/haskell/primitive

View File

@ -1 +1 @@
SHA512 (primitive-0.7.3.0.tar.gz) = 7fe593c24d990ce113c7dd155479b30a1c74aa9cfd10d2f0903dc185fc00d725b36d340e5eea6f1af7547d47bbde27339c56e2949e7f518674a7306ed8e56342
SHA512 (primitive-0.8.0.0.tar.gz) = 730b5687a89c99266a766a90d16352447c557ab58e8e71907d5a730f5d251e7f092fc8e80d3ac82a1bc2f45996f608dd32563dbd8b8b1ac3235fd893241101a4