revise .cabal

epel9
Jens Petersen 7 years ago
parent 9b1d6c987b
commit f408545507

@ -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 <petersen@redhat.com> - 1.0.3-8
- revise .cabal
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

@ -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 <http://en.wikipedia.org/wiki/UUID> 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
Loading…
Cancel
Save