diff --git a/.gitignore b/.gitignore index f7740b2..30eb0ca 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /primitive-0.6.tar.gz /primitive-0.6.1.0.tar.gz /primitive-0.6.2.0.tar.gz +/primitive-0.6.4.0.tar.gz diff --git a/ghc-primitive.spec b/ghc-primitive.spec index 02b4b39..15aa4d8 100644 --- a/ghc-primitive.spec +++ b/ghc-primitive.spec @@ -1,17 +1,18 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.12.5 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name primitive %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.6.2.0 -Release: 3%{?dist} +Version: 0.6.4.0 +Release: 1%{?dist} Summary: Primitive memory-related operations License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -40,7 +41,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkgver} -cabal-tweak-dep-ver base '< 4.10' '< 4.11' +cp -p %{SOURCE1} %{pkg_name}.cabal %build @@ -68,6 +69,9 @@ cabal-tweak-dep-ver base '< 4.10' '< 4.11' %changelog +* Sun Jul 22 2018 Jens Petersen - 0.6.4.0-1 +- update to 0.6.4.0 + * Fri Jul 13 2018 Fedora Release Engineering - 0.6.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/primitive-0.6.4.0.cabal b/primitive-0.6.4.0.cabal new file mode 100644 index 0000000..e370f6d --- /dev/null +++ b/primitive-0.6.4.0.cabal @@ -0,0 +1,74 @@ +Name: primitive +Version: 0.6.4.0 +x-revision: 1 +License: BSD3 +License-File: LICENSE + +Author: Roman Leshchinskiy +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 +Cabal-Version: >= 1.10 +Build-Type: Simple +Description: This package provides various primitive memory-related operations. + +Extra-Source-Files: changelog.md + test/*.hs + test/LICENSE + test/primitive-tests.cabal + +Tested-With: + GHC == 7.4.2, + GHC == 7.6.3, + GHC == 7.8.4, + GHC == 7.10.3, + GHC == 8.0.2, + GHC == 8.2.2, + GHC == 8.4.2 + +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.UnliftedArray + Data.Primitive.Addr + Data.Primitive.Ptr + Data.Primitive.MutVar + Data.Primitive.MVar + + Other-Modules: + Data.Primitive.Internal.Compat + Data.Primitive.Internal.Operations + + Build-Depends: base >= 4.5 && < 4.13 + , ghc-prim >= 0.2 && < 0.6 + , transformers >= 0.2 && < 0.6 + + 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 + +source-repository head + type: git + location: https://github.com/haskell/primitive diff --git a/sources b/sources index 296b918..fe8ddcb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (primitive-0.6.2.0.tar.gz) = bd19893c98de2fb2948b8d0f52587ae39ed97648c23fe4cb5bbb4ef15dec5b4f64d12ea6b686654f93b930cee4723829694e1e21edaa153c9501c7936e92d7ba +SHA512 (primitive-0.6.4.0.tar.gz) = a9d31b386c41abd4a5e601883b6f4d230c9669d1eda840a3491fc2e5961e8bce0c2bc1026426b92a36790cd372db954b3003499c540605289540e26543e12b80