From 075d455ce1343852cdb54f05f54c6c6467f33e04 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 7 Jun 2022 15:10:40 +0800 Subject: [PATCH] update to 0.2.2 --- .gitignore | 1 + ghc-vector-th-unbox.spec | 10 +++++-- sources | 2 +- vector-th-unbox-0.2.2.cabal | 56 +++++++++++++++++++++++++++++++++++++ 4 files changed, 66 insertions(+), 3 deletions(-) create mode 100644 vector-th-unbox-0.2.2.cabal diff --git a/.gitignore b/.gitignore index 5261e0a..297dc9b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /vector-th-unbox-0.2.1.6.tar.gz /vector-th-unbox-0.2.1.7.tar.gz /vector-th-unbox-0.2.1.9.tar.gz +/vector-th-unbox-0.2.2.tar.gz diff --git a/ghc-vector-th-unbox.spec b/ghc-vector-th-unbox.spec index cc6b950..b62c795 100644 --- a/ghc-vector-th-unbox.spec +++ b/ghc-vector-th-unbox.spec @@ -7,17 +7,19 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.2.1.9 -Release: 2%{?dist} +Version: 0.2.2 +Release: 1%{?dist} Summary: Deriver for Data.Vector.Unboxed using Template Haskell 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: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-prof @@ -74,6 +76,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -117,6 +120,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jun 07 2022 Jens Petersen - 0.2.2-1 +- https://hackage.haskell.org/package/vector-th-unbox-0.2.2/changelog + * Thu Jan 20 2022 Fedora Release Engineering - 0.2.1.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index db9b7df..16079b9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vector-th-unbox-0.2.1.9.tar.gz) = 837d5cf4404c3754e737bf472866f48765f08bfa9f8b1022df2272d3a6ea2e33288a696f1aa284139752d9d0a2d7def3e7d5424cdacdf091dc8fc13f4e086487 +SHA512 (vector-th-unbox-0.2.2.tar.gz) = 55af4bcced3a39464aca6dca95a8148498a698d9402a583b916aa178d58d3895cc609525416de53c0a39566b892c7b09296fc442db7851a19d071142cce72a46 diff --git a/vector-th-unbox-0.2.2.cabal b/vector-th-unbox-0.2.2.cabal new file mode 100644 index 0000000..1b12e27 --- /dev/null +++ b/vector-th-unbox-0.2.2.cabal @@ -0,0 +1,56 @@ +name: vector-th-unbox +version: 0.2.2 +x-revision: 1 +synopsis: Deriver for Data.Vector.Unboxed using Template Haskell +description: + A Template Haskell deriver for unboxed vectors, given a pair of coercion + functions to and from some existing type with an Unbox instance. + . + Refer to "Data.Vector.Unboxed.Deriving" for documentation and examples. +stability: experimental +homepage: https://github.com/tsurucapital/vector-th-unbox +license: BSD3 +license-file: LICENSE +copyright: (c) 2012-2015 Liyang HU +author: Liyang HU +maintainer: Fumiaki Kinoshita +category: Data +build-type: Simple +cabal-version: >= 1.10 +tested-with: + GHC == 8.0.2, + GHC == 8.2.2, + GHC == 8.4.4, + GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.1, GHC == 9.0.1, GHC ==9.2.1 +extra-source-files: + CHANGELOG.md + README.md + +source-repository head + type: git + location: http://github.com/tsurucapital/vector-th-unbox + +library + default-language: Haskell2010 + exposed-modules: + Data.Vector.Unboxed.Deriving + + build-depends: + base >= 4.9 && < 4.17, + template-haskell >= 2.5 && <2.19, + vector >= 0.7.1 && <0.13 + +test-suite sanity + default-language: Haskell2010 + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: sanity.hs + build-depends: + base, + data-default, + vector, + vector-th-unbox + ghc-options: -Wall + +-- vim: et sw=4 ts=4 sts=4: +