diff --git a/data-clist-0.1.2.3.cabal b/data-clist-0.1.2.3.cabal new file mode 100644 index 0000000..0cb69b7 --- /dev/null +++ b/data-clist-0.1.2.3.cabal @@ -0,0 +1,33 @@ +Name: data-clist +Synopsis: Simple functional ring type. +Description: Simple functional bidirectional ring type. + + Given that the ring terminiology clashes with certain + mathematical branches, we're using the term CList or + CircularList instead. +Version: 0.1.2.3 +x-revision: 1 +License: BSD3 +License-File: LICENSE +Author: John Van Enk +Maintainer: Jeremy Huffman , John Van Enk +Stability: experimental +Category: Data Structures +Cabal-Version: >= 1.6 +Build-Type: Simple +Homepage: https://github.com/sw17ch/data-clist + +source-repository head + type: git + location: git://github.com/sw17ch/data-clist.git + +Library + Build-Depends: base >= 4 && < 5, + deepseq >= 1.1 && < 1.5, + QuickCheck >= 2.4 && < 2.15 + + Exposed-Modules: + Data.CircularList + + ghc-options: -Wall + hs-source-dirs: src diff --git a/ghc-data-clist.spec b/ghc-data-clist.spec index 84d9f82..3f2c2df 100644 --- a/ghc-data-clist.spec +++ b/ghc-data-clist.spec @@ -13,6 +13,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: @@ -66,6 +67,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