From f408545507bd5ee71d792eac99eaf2375702ea06 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 29 Jul 2018 00:53:28 +0900 Subject: [PATCH] revise .cabal --- ghc-uuid-types.spec | 9 +++-- uuid-types-1.0.3.cabal | 78 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+), 2 deletions(-) create mode 100644 uuid-types-1.0.3.cabal diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index 0cfc26c..bdeda73 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.12.5 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name uuid-types @@ -8,12 +8,13 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Type definitions for Universally Unique Identifiers 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 @@ -56,6 +57,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkgver} +cp -p %{SOURCE1} %{pkg_name}.cabal %build @@ -87,6 +89,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Jul 28 2018 Jens Petersen - 1.0.3-8 +- revise .cabal + * Fri Jul 13 2018 Fedora Release Engineering - 1.0.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/uuid-types-1.0.3.cabal b/uuid-types-1.0.3.cabal new file mode 100644 index 0000000..1bd6d21 --- /dev/null +++ b/uuid-types-1.0.3.cabal @@ -0,0 +1,78 @@ +Name: uuid-types +Version: 1.0.3 +x-revision: 1 +Copyright: (c) 2008-2014 Antoine Latter +Author: Antoine Latter +Maintainer: aslatter@gmail.com +License: BSD3 +License-file: LICENSE + +Category: Data +Build-Type: Simple +Cabal-Version: >= 1.8 + +Description: + This library contains type definitions for Universally Unique Identifiers + and basic conversion functions. + + See for the general idea. + +Synopsis: Type definitions for Universally Unique Identifiers + +Homepage: https://github.com/aslatter/uuid +Bug-Reports: https://github.com/aslatter/uuid/issues + +Extra-Source-Files: + CHANGES + + +Library + Build-Depends: base >=3 && < 5, + binary >= 0.4 && < 0.9, + bytestring >= 0.9 && < 0.11, + deepseq >= 1.3 && < 1.5, + hashable (>= 1.1.1.0 && < 1.2.0) || (>= 1.2.1 && < 1.3), + random >= 1.0.1 && < 1.2, + text >= 1 && < 1.3 + + Exposed-Modules: + Data.UUID.Types + -- Exposed for companion projects; *NOT* part of the official API: + Data.UUID.Types.Internal.Builder + Data.UUID.Types.Internal + + Extensions: DeriveDataTypeable + Ghc-Options: -Wall + +source-repository head + type: git + location: https://github.com/aslatter/uuid.git + +Test-Suite testuuid + Type: exitcode-stdio-1.0 + Main-is: TestUUID.hs + Hs-source-dirs: tests + Extensions: DeriveDataTypeable + Ghc-Options: -Wall -fno-warn-orphans + Build-Depends: base >= 3 && < 5, + uuid-types, + bytestring >= 0.9 && < 0.11, + HUnit >=1.2 && < 1.4, + QuickCheck >=2.4 && < 2.10, + tasty >= 0.10 && < 0.12, + tasty-hunit == 0.9.*, + tasty-quickcheck == 0.8.* + +benchmark benchmark + Type: exitcode-stdio-1.0 + Main-is: BenchUUID.hs + Hs-source-dirs: tests + Extensions: DeriveDataTypeable, CPP + Ghc-Options: -Wall -fno-warn-orphans + Build-depends: base == 4.*, + uuid-types, + bytestring >= 0.9 && < 0.11, + containers >= 0.4 && < 0.6, + criterion >= 0.4 && < 1.2, + deepseq >= 1.1 && < 1.5, + random >= 1.0.1 && < 1.2