From ca3abe51a66a9b333a1249badfe1b765506d3c2200642fa0ad15e170af95f1b6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 3 Oct 2016 08:20:43 +0000 Subject: [PATCH] Accepting request 432732 from devel:languages:haskell:lts:7 version / revision update OBS-URL: https://build.opensuse.org/request/show/432732 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-edit-distance?expand=0&rev=6 --- 1.cabal => edit-distance.cabal | 98 +++++++++++++++++----------------- ghc-edit-distance.spec | 3 +- 2 files changed, 50 insertions(+), 51 deletions(-) rename 1.cabal => edit-distance.cabal (97%) diff --git a/1.cabal b/edit-distance.cabal similarity index 97% rename from 1.cabal rename to edit-distance.cabal index 3c2440d..adcbfe1 100644 --- a/1.cabal +++ b/edit-distance.cabal @@ -1,49 +1,49 @@ -name: edit-distance -version: 0.2.2.1 -x-revision: 1 -cabal-version: >= 1.10 -category: Algorithms -synopsis: Levenshtein and restricted Damerau-Levenshtein edit distances -description: Optimized edit distances for fuzzy matching, including Levenshtein and restricted Damerau-Levenshtein algorithms. -license: BSD3 -license-File: LICENSE -extra-source-files: README.md -author: Max Bolingbroke -copyright: (c) 2008-2013 Maximilian Bolinbroke -maintainer: Oleg Grenrus -homepage: http://github.com/phadej/edit-distance -build-type: Simple - -library - default-language: Haskell98 - exposed-modules: Text.EditDistance - other-modules: Text.EditDistance.EditCosts - Text.EditDistance.SquareSTUArray - Text.EditDistance.STUArray - Text.EditDistance.Bits - Text.EditDistance.MonadUtilities - Text.EditDistance.ArrayUtilities - build-depends: base >= 4.5 && < 5, array >= 0.1, random >= 1.0, containers >= 0.1.0.1 - ghc-options: -O2 -Wall - -test-suite edit-distance-tests - default-language: Haskell98 - main-is: Text/EditDistance/Tests.hs - other-modules: Text.EditDistance.Tests.EditOperationOntology - Text.EditDistance.Tests.Properties - type: exitcode-stdio-1.0 - ghc-options: -O2 -Wall - build-depends: base >= 4.5 && < 5, array >= 0.1, random >= 1.0, containers >= 0.1.0.1, - test-framework >= 0.1.1, QuickCheck >= 2.4 && <2.10, test-framework-quickcheck2 - -benchmark edit-distance-benchmark - default-language: Haskell98 - main-is: Text/EditDistance/Benchmark.hs - type: exitcode-stdio-1.0 - build-depends: base >= 4.5 && < 5, array >= 0.1, random >= 1.0, time >= 1.0, process >= 1.0, - deepseq >= 1.2, unix >= 2.3, criterion >= 1.1, containers >= 0.1.0.1 - ghc-options: -O2 - -source-repository head - type: git - location: https://github.com/phadej/edit-distance.git +name: edit-distance +version: 0.2.2.1 +x-revision: 1 +cabal-version: >= 1.10 +category: Algorithms +synopsis: Levenshtein and restricted Damerau-Levenshtein edit distances +description: Optimized edit distances for fuzzy matching, including Levenshtein and restricted Damerau-Levenshtein algorithms. +license: BSD3 +license-File: LICENSE +extra-source-files: README.md +author: Max Bolingbroke +copyright: (c) 2008-2013 Maximilian Bolinbroke +maintainer: Oleg Grenrus +homepage: http://github.com/phadej/edit-distance +build-type: Simple + +library + default-language: Haskell98 + exposed-modules: Text.EditDistance + other-modules: Text.EditDistance.EditCosts + Text.EditDistance.SquareSTUArray + Text.EditDistance.STUArray + Text.EditDistance.Bits + Text.EditDistance.MonadUtilities + Text.EditDistance.ArrayUtilities + build-depends: base >= 4.5 && < 5, array >= 0.1, random >= 1.0, containers >= 0.1.0.1 + ghc-options: -O2 -Wall + +test-suite edit-distance-tests + default-language: Haskell98 + main-is: Text/EditDistance/Tests.hs + other-modules: Text.EditDistance.Tests.EditOperationOntology + Text.EditDistance.Tests.Properties + type: exitcode-stdio-1.0 + ghc-options: -O2 -Wall + build-depends: base >= 4.5 && < 5, array >= 0.1, random >= 1.0, containers >= 0.1.0.1, + test-framework >= 0.1.1, QuickCheck >= 2.4 && <2.10, test-framework-quickcheck2 + +benchmark edit-distance-benchmark + default-language: Haskell98 + main-is: Text/EditDistance/Benchmark.hs + type: exitcode-stdio-1.0 + build-depends: base >= 4.5 && < 5, array >= 0.1, random >= 1.0, time >= 1.0, process >= 1.0, + deepseq >= 1.2, unix >= 2.3, criterion >= 1.1, containers >= 0.1.0.1 + ghc-options: -O2 + +source-repository head + type: git + location: https://github.com/phadej/edit-distance.git diff --git a/ghc-edit-distance.spec b/ghc-edit-distance.spec index a411f2d..7bb5534 100644 --- a/ghc-edit-distance.spec +++ b/ghc-edit-distance.spec @@ -26,7 +26,7 @@ License: BSD-3-Clause Group: Development/Languages/Other Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-array-devel BuildRequires: ghc-containers-devel @@ -79,6 +79,5 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc README.md %changelog