update to 0.7.1.0

This commit is contained in:
Jens Petersen 2021-01-29 00:23:09 +08:00
parent 911884e81f
commit e690fc1ce1
4 changed files with 113 additions and 18 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/primitive-0.6.2.0.tar.gz /primitive-0.6.2.0.tar.gz
/primitive-0.6.4.0.tar.gz /primitive-0.6.4.0.tar.gz
/primitive-0.7.0.1.tar.gz /primitive-0.7.0.1.tar.gz
/primitive-0.7.1.0.tar.gz

View File

@ -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/ # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name primitive %global pkg_name primitive
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
%bcond_without tests # testsuite missing deps: quickcheck-classes-base
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.7.0.1 Version: 0.7.1.0
Release: 5%{?dist} Release: 1%{?dist}
Summary: Primitive memory-related operations Summary: Primitive memory-related operations
License: BSD License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources: # Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz 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 # End cabal-rpm sources
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-transformers-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 # End cabal-rpm deps
%description %description
@ -74,6 +67,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep %prep
# Begin cabal-rpm setup: # Begin cabal-rpm setup:
%setup -q -n %{pkgver} %setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup # End cabal-rpm setup
@ -89,10 +83,6 @@ This package provides the Haskell %{pkg_name} profiling library.
# End cabal-rpm install # End cabal-rpm install
%check
%cabal_test
%files -f %{name}.files %files -f %{name}.files
# Begin cabal-rpm files: # Begin cabal-rpm files:
%license LICENSE %license LICENSE
@ -115,6 +105,9 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog %changelog
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.7.1.0-1
- update to 0.7.1.0
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0.1-5 * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

101
primitive-0.7.1.0.cabal Normal file
View File

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

View File

@ -1 +1 @@
SHA512 (primitive-0.7.0.1.tar.gz) = bb9be965ff22bc3184962ce35f3b0ff3ad6a5bb42735ea0ea7e33d4a122a2833381b8f04950b3cc8a6ccd792f72f2b06a291c462c381b87044dd8e06240d093c SHA512 (primitive-0.7.1.0.tar.gz) = 8ade11d0b2221cfdf042da0263b5b5367a7ca2a9b9e1141844e4a65bb0467df879c92cd3515440d715b59345860c1ec3cb3efd7a3d702269ea15e18692586367