Hello community,

here is the log from the commit of package ghc-linear for openSUSE:Factory 
checked in at 2017-03-18 20:50:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-linear (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-linear.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-linear"

Sat Mar 18 20:50:30 2017 rev:2 rq:477457 version:1.20.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-linear/ghc-linear.changes    2016-11-02 
12:33:47.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-linear.new/ghc-linear.changes       
2017-03-18 20:50:31.234133262 +0100
@@ -1,0 +2,5 @@
+Sun Jan  8 21:12:54 UTC 2017 - [email protected]
+
+- Update to version 1.20.5 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------

New:
----
  linear.cabal

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

Other differences:
------------------
++++++ ghc-linear.spec ++++++
--- /var/tmp/diff_new_pack.rQA5tT/_old  2017-03-18 20:50:31.770057339 +0100
+++ /var/tmp/diff_new_pack.rQA5tT/_new  2017-03-18 20:50:31.774056772 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-linear
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,11 +23,11 @@
 Release:        0
 Summary:        Linear Algebra
 License:        BSD-3-Clause
-Group:          System/Libraries
+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#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-adjunctions-devel
 BuildRequires:  ghc-base-orphans-devel
 BuildRequires:  ghc-binary-devel
@@ -60,7 +60,6 @@
 BuildRequires:  ghc-test-framework-devel
 BuildRequires:  ghc-test-framework-hunit-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Types and combinators for linear algebra on free vector spaces.
@@ -78,21 +77,16 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++++++ linear.cabal ++++++
name:          linear
category:      Math, Algebra
version:       1.20.5
x-revision: 1
license:       BSD3
cabal-version: >= 1.8
license-file:  LICENSE
author:        Edward A. Kmett
maintainer:    Edward A. Kmett <[email protected]>
stability:     provisional
homepage:      http://github.com/ekmett/linear/
bug-reports:   http://github.com/ekmett/linear/issues
copyright:     Copyright (C) 2012-2015 Edward A. Kmett
synopsis:      Linear Algebra
description:   Types and combinators for linear algebra on free vector spaces
build-type:    Custom
tested-with:   GHC == 7.4.2, GHC == 7.6.1, GHC == 7.8.4, GHC == 7.10.1, 
GHC==8.0.1
extra-source-files:
  .gitignore
  .travis.yml
  .vim.custom
  travis/cabal-apt-install
  travis/config
  CHANGELOG.markdown
  README.markdown

flag template-haskell
  description:
    You can disable the use of the `template-haskell` package using 
`-f-template-haskell`.
    .
    Disabling this is an unsupported configuration, but it may be useful for 
accelerating builds in sandboxes for expert users.
  default: True
  manual: True

flag herbie
  description: Enable `herbie`.
  default: False
  manual: True

source-repository head
  type: git
  location: git://github.com/ekmett/linear.git

library
  build-depends:
    adjunctions          >= 4     && < 5,
    base                 >= 4.5   && < 5,
    base-orphans         >= 0.5   && < 1,
    binary               >= 0.5   && < 0.9,
    bytes                >= 0.15  && < 1,
    cereal               >= 0.4.1.1 && < 0.6,
    containers           >= 0.4   && < 0.6,
    deepseq              >= 1.1   && < 1.5,
    distributive         >= 0.2.2 && < 1,
    ghc-prim,
    hashable             >= 1.1   && < 1.3,
    lens                 >= 4     && < 5,
    reflection           >= 1.3.2 && < 3,
    semigroups           >= 0.9   && < 1,
    semigroupoids        >= 3     && < 6,
    tagged               >= 0.4.4 && < 1,
    transformers         >= 0.2   && < 0.6,
    transformers-compat  >= 0.4   && < 1,
    unordered-containers >= 0.2.3 && < 0.3,
    vector               >= 0.10  && < 0.13,
    void                 >= 0.6   && < 1

  if flag(template-haskell) && impl(ghc)
    build-depends: template-haskell >= 2.7 && < 3.0

  if flag(herbie)
    build-depends: HerbiePlugin >= 0.1 && < 0.2
    ghc-options: -fplugin=Herbie
    cpp-options: -DHERBIE

  exposed-modules:
    Linear
    Linear.Affine
    Linear.Algebra
    Linear.Binary
    Linear.Conjugate
    Linear.Covector
    Linear.Epsilon
    Linear.Instances
    Linear.Matrix
    Linear.Metric
    Linear.Plucker
    Linear.Plucker.Coincides
    Linear.Projection
    Linear.Quaternion
    Linear.Trace
    Linear.V
    Linear.V0
    Linear.V1
    Linear.V2
    Linear.V3
    Linear.V4
    Linear.Vector

  ghc-options: -Wall -fwarn-tabs -O2 -fdicts-cheap -funbox-strict-fields
  hs-source-dirs: src

  -- hack around the buggy unused matches check for class associated types in 
ghc 8 rc1
  if impl(ghc >= 8)
    ghc-options: -fno-warn-unused-matches

-- Verify the results of the examples
test-suite doctests
  type:           exitcode-stdio-1.0
  main-is:        doctests.hs
  ghc-options:    -Wall -threaded
  hs-source-dirs: tests
  build-depends:
    base,
    directory >= 1.0 && < 1.4,
    doctest   >= 0.8 && < 0.12,
    filepath  >= 1.3 && < 1.5,
    lens,
    simple-reflect >= 0.3.1

test-suite UnitTests
  type:           exitcode-stdio-1.0
  main-is:        UnitTests.hs
  other-modules:  Plucker, Binary
  ghc-options:    -Wall -threaded
  hs-source-dirs: tests
  build-depends:
    base,
    binary,
    bytestring,
    test-framework >= 0.8,
    test-framework-hunit >= 0.3,
    HUnit >= 1.2.5,
    linear



Reply via email to