Hello community,

here is the log from the commit of package ghc-text-metrics for 
openSUSE:Factory checked in at 2018-05-30 12:20:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-text-metrics (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-text-metrics.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-text-metrics"

Wed May 30 12:20:55 2018 rev:5 rq:609823 version:0.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-text-metrics/ghc-text-metrics.changes        
2017-09-15 22:18:10.630478400 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-text-metrics.new/ghc-text-metrics.changes   
2018-05-30 12:27:29.837880064 +0200
@@ -1,0 +2,7 @@
+Wed May 16 14:36:29 UTC 2018 - psim...@suse.com
+
+- Prefer the new %license attribute over %doc.
+- Update Cabal file to revision 2.
+  * allow building with recent versions of criterion
+
+-------------------------------------------------------------------

New:
----
  text-metrics.cabal

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-text-metrics.spec ++++++
--- /var/tmp/diff_new_pack.VygsIu/_old  2018-05-30 12:27:30.725849097 +0200
+++ /var/tmp/diff_new_pack.VygsIu/_new  2018-05-30 12:27:30.725849097 +0200
@@ -26,6 +26,7 @@
 Group:          Development/Libraries/Haskell
 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/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-rpm-macros
@@ -52,6 +53,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
@@ -69,7 +71,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE.md
+%license LICENSE.md
 
 %files devel -f %{name}-devel.files
 %doc CHANGELOG.md README.md

++++++ text-metrics.cabal ++++++
name:                 text-metrics
version:              0.3.0
x-revision: 2
cabal-version:        >= 1.10
tested-with:          GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.1
license:              BSD3
license-file:         LICENSE.md
author:               Mark Karpov <markkarpo...@gmail.com>
maintainer:           Mark Karpov <markkarpo...@gmail.com>
homepage:             https://github.com/mrkkrp/text-metrics
bug-reports:          https://github.com/mrkkrp/text-metrics/issues
category:             Text, Algorithms
synopsis:             Calculate various string metrics efficiently
build-type:           Simple
description:          Calculate various string metrics efficiently.
extra-doc-files:      CHANGELOG.md
                    , README.md

source-repository head
  type:               git
  location:           https://github.com/mrkkrp/text-metrics.git

flag dev
  description:        Turn on development settings.
  manual:             True
  default:            False

library
  build-depends:      base             >= 4.7 && < 5.0
                    , containers       >= 0.5.6.2 && < 0.6
                    , text             >= 0.2 && < 1.3
                    , vector           >= 0.11 && < 0.13
  exposed-modules:    Data.Text.Metrics
  if flag(dev)
    ghc-options:      -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  default-language:   Haskell2010

test-suite tests
  main-is:            Main.hs
  hs-source-dirs:     tests
  type:               exitcode-stdio-1.0
  build-depends:      QuickCheck       >= 2.8 && < 3.0
                    , base             >= 4.7 && < 5.0
                    , hspec            >= 2.0 && < 3.0
                    , text             >= 0.2 && < 1.3
                    , text-metrics
  if flag(dev)
    ghc-options:      -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  default-language:   Haskell2010

benchmark bench-speed
  main-is:            Main.hs
  hs-source-dirs:     bench-speed
  type:               exitcode-stdio-1.0
  build-depends:      base             >= 4.7 && < 5.0
                    , criterion        >= 0.6.2.1 && < 1.5
                    , deepseq          >= 1.4 && < 1.5
                    , text             >= 0.2 && < 1.3
                    , text-metrics
  if flag(dev)
    ghc-options:      -O2 -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  default-language:   Haskell2010

benchmark bench-memory
  main-is:            Main.hs
  hs-source-dirs:     bench-memory
  type:               exitcode-stdio-1.0
  build-depends:      base             >= 4.7 && < 5.0
                    , deepseq          >= 1.4 && < 1.5
                    , text             >= 0.2 && < 1.3
                    , text-metrics
                    , weigh            >= 0.0.4
  if flag(dev)
    ghc-options:      -O2 -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  default-language:   Haskell2010

Reply via email to