diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index aa1af4c..f530f6e 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -15,6 +15,7 @@ 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: @@ -74,6 +75,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 diff --git a/uuid-types-1.0.5.cabal b/uuid-types-1.0.5.cabal new file mode 100644 index 0000000..21f2ee5 --- /dev/null +++ b/uuid-types-1.0.5.cabal @@ -0,0 +1,97 @@ +cabal-version: 1.12 +name: uuid-types +version: 1.0.5 +x-revision: 2 +copyright: + (c) 2017-2018 Herbert Valerio Riedel + (c) 2008-2014 Antoine Latter + +author: Antoine Latter +maintainer: Oleg Grenrus +license: BSD3 +license-file: LICENSE +category: Data +build-type: Simple +tested-with: + GHC ==7.4.2 + || ==7.6.3 + || ==7.8.4 + || ==7.10.3 + || ==8.0.2 + || ==8.2.2 + || ==8.4.4 + || ==8.6.4 + || ==8.8.4 + || ==8.10.7 + || ==9.0.1 + || ==9.2.1 + +synopsis: Type definitions for Universally Unique Identifiers +description: + This library contains type definitions for + + (as specified in + ) + and basic conversion functions. + . + See also the + providing a high-level API for managing the different UUID versions. + +homepage: https://github.com/haskell-hvr/uuid +bug-reports: https://github.com/haskell-hvr/uuid/issues +extra-source-files: ChangeLog.md + +source-repository head + type: git + location: https://github.com/haskell-hvr/uuid.git + subdir: uuid-types + +library + build-depends: + base >=4.5 && <5 + , binary >=0.5.1.0 && <0.9 + , bytestring >=0.9.2.1 && <0.12 + , deepseq >=1.3.0.0 && <1.5 + , hashable >=1.2.7.0 && <1.5 + , random >=1.1 && <1.3 + , template-haskell >=2.7.0.0 && <2.19 + , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1 + + exposed-modules: Data.UUID.Types + + -- Exposed for companion projects; *NOT* part of the official API: + exposed-modules: + Data.UUID.Types.Internal + Data.UUID.Types.Internal.Builder + + default-language: Haskell2010 + other-extensions: + DeriveDataTypeable + TypeFamilies + + ghc-options: -Wall + hs-source-dirs: src + +test-suite testuuid + type: exitcode-stdio-1.0 + main-is: TestUUID.hs + hs-source-dirs: tests + default-language: Haskell2010 + other-extensions: ViewPatterns + ghc-options: -Wall + + -- inherited constraints + build-depends: + base + , binary + , bytestring + , uuid-types + , template-haskell + + -- deps w/o inherited constraints + build-depends: + ghc-byteorder >=4.11 && <4.12 + , QuickCheck >=2.14.2 && <2.15 + , tasty >=1.4.0.1 && <1.5 + , tasty-hunit >=0.10 && <0.11 + , tasty-quickcheck >=0.10 && <0.11