From ea8af8ba87171080abe7a3e753d602cbc2a15026 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 29 Jul 2018 00:53:28 +0900 Subject: [PATCH] revise .cabal --- equivalence-0.3.2.cabal | 48 +++++++++++++++++++++++++++++++++++++++++ ghc-equivalence.spec | 9 ++++++-- 2 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 equivalence-0.3.2.cabal diff --git a/equivalence-0.3.2.cabal b/equivalence-0.3.2.cabal new file mode 100644 index 0000000..a8efbd1 --- /dev/null +++ b/equivalence-0.3.2.cabal @@ -0,0 +1,48 @@ +Name: equivalence +Version: 0.3.2 +x-revision: 1 +License: BSD3 +License-File: LICENSE +Author: Patrick Bahr +Maintainer: paba@di.ku.dk +Homepage: https://github.com/pa-ba/equivalence +bug-reports: https://github.com/pa-ba/equivalence/issues/new +Synopsis: Maintaining an equivalence relation implemented as union-find using STT. +Description: + This is an implementation of Tarjan's Union-Find algorithm (Robert + E. Tarjan. "Efficiency of a Good But Not Linear Set Union + Algorithm", JACM 22(2), 1975) in order to maintain an equivalence + relation. + + This implementation is a port of the /union-find/ package using the + ST monad transformer (instead of the IO monad). +Category: Algorithms, Data +Stability: provisional +Build-Type: Simple +Cabal-Version: >=1.9.2 + +Extra-Source-Files: CHANGES.txt + + +source-repository head + type: git + location: https://github.com/pa-ba/equivalence + + +Test-Suite test + Type: exitcode-stdio-1.0 + Main-is: Data_Test.hs + Other-Modules: Data.Equivalence.Monad_Test + hs-source-dirs: src testsuite/tests + Build-Depends: base >= 4, template-haskell, containers, mtl >= 2.0.1, QuickCheck >= 2, + test-framework, test-framework-quickcheck2, STMonadTrans >= 0.4.3, + transformers >= 0.2, transformers-compat >= 0.3 + +Library + Build-Depends: + base >= 4 && < 5, containers, mtl >= 2.0.1, STMonadTrans >= 0.4.3, + transformers >= 0.2, transformers-compat >= 0.3 + Exposed-Modules: + Data.Equivalence.STT, + Data.Equivalence.Monad + Hs-Source-Dirs: src \ No newline at end of file diff --git a/ghc-equivalence.spec b/ghc-equivalence.spec index 6a21d1d..72b03ac 100644 --- a/ghc-equivalence.spec +++ b/ghc-equivalence.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 equivalence @@ -8,12 +8,13 @@ Name: ghc-%{pkg_name} Version: 0.3.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Maintaining an equivalence relation implemented as union-find using STT 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 - 0.3.2-7 +- revise .cabal + * Fri Jul 13 2018 Fedora Release Engineering - 0.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild