From e690fc1ce17e6ef55b2905ba0a1adcdfa8c5313f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 29 Jan 2021 00:23:09 +0800 Subject: [PATCH] update to 0.7.1.0 --- .gitignore | 1 + ghc-primitive.spec | 27 ++++------- primitive-0.7.1.0.cabal | 101 ++++++++++++++++++++++++++++++++++++++++ sources | 2 +- 4 files changed, 113 insertions(+), 18 deletions(-) create mode 100644 primitive-0.7.1.0.cabal diff --git a/.gitignore b/.gitignore index 9890158..1311aa6 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /primitive-0.6.2.0.tar.gz /primitive-0.6.4.0.tar.gz /primitive-0.7.0.1.tar.gz +/primitive-0.7.1.0.tar.gz diff --git a/ghc-primitive.spec b/ghc-primitive.spec index 39f97c2..14c77b1 100644 --- a/ghc-primitive.spec +++ b/ghc-primitive.spec @@ -1,36 +1,29 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.8 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name primitive %global pkgver %{pkg_name}-%{version} -%bcond_without tests +# testsuite missing deps: quickcheck-classes-base Name: ghc-%{pkg_name} -Version: 0.7.0.1 -Release: 5%{?dist} +Version: 0.7.1.0 +Release: 1%{?dist} Summary: Primitive memory-related operations License: BSD 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: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-prof +BuildRequires: ghc-deepseq-prof BuildRequires: ghc-transformers-prof -%if %{with tests} -BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-base-orphans-devel -BuildRequires: ghc-semigroups-devel -BuildRequires: ghc-tagged-devel -BuildRequires: ghc-tasty-devel -BuildRequires: ghc-tasty-quickcheck-devel -BuildRequires: ghc-transformers-compat-devel -%endif # End cabal-rpm deps %description @@ -74,6 +67,7 @@ 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 @@ -89,10 +83,6 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install -%check -%cabal_test - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -115,6 +105,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Aug 5 2021 Jens Petersen - 0.7.1.0-1 +- update to 0.7.1.0 + * Thu Jul 22 2021 Fedora Release Engineering - 0.7.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/primitive-0.7.1.0.cabal b/primitive-0.7.1.0.cabal new file mode 100644 index 0000000..56d060b --- /dev/null +++ b/primitive-0.7.1.0.cabal @@ -0,0 +1,101 @@ +Cabal-Version: 2.2 +Name: primitive +Version: 0.7.1.0 +x-revision: 1 +License: BSD-3-Clause +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 +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.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.4, + GHC == 8.6.5, + GHC == 8.8.2, + GHC == 8.10.1 + +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.Compat + Data.Primitive.Internal.Operations + + Build-Depends: base >= 4.5 && < 4.15 + , deepseq >= 1.1 && < 1.5 + , transformers >= 0.2 && < 0.6 + 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 + , tasty-quickcheck + , tagged + , transformers >=0.4 + , transformers-compat + , semigroups + + cpp-options: -DHAVE_UNARY_LAWS + ghc-options: -O2 + + + +source-repository head + type: git + location: https://github.com/haskell/primitive diff --git a/sources b/sources index 3ea3ab3..2495b27 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (primitive-0.7.0.1.tar.gz) = bb9be965ff22bc3184962ce35f3b0ff3ad6a5bb42735ea0ea7e33d4a122a2833381b8f04950b3cc8a6ccd792f72f2b06a291c462c381b87044dd8e06240d093c +SHA512 (primitive-0.7.1.0.tar.gz) = 8ade11d0b2221cfdf042da0263b5b5367a7ca2a9b9e1141844e4a65bb0467df879c92cd3515440d715b59345860c1ec3cb3efd7a3d702269ea15e18692586367