Hello community,

here is the log from the commit of package ghc-jwt for openSUSE:Factory checked 
in at 2016-12-06 14:24:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-jwt (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-jwt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-jwt"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-jwt/ghc-jwt.changes  2016-11-01 
09:57:56.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-jwt.new/ghc-jwt.changes     2016-12-06 
14:24:49.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Nov 21 13:07:39 UTC 2016 - [email protected]
+
+- Update to version 0.7.2 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------

New:
----
  jwt.cabal

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

Other differences:
------------------
++++++ ghc-jwt.spec ++++++
--- /var/tmp/diff_new_pack.PUTExt/_old  2016-12-06 14:24:50.000000000 +0100
+++ /var/tmp/diff_new_pack.PUTExt/_new  2016-12-06 14:24:50.000000000 +0100
@@ -23,11 +23,11 @@
 Release:        0
 Summary:        JSON Web Token (JWT) decoding and encoding
 License:        MIT
-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-aeson-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
@@ -55,7 +55,6 @@
 BuildRequires:  ghc-tasty-quickcheck-devel
 BuildRequires:  ghc-tasty-th-devel
 %endif
-# End cabal-rpm deps
 
 %description
 JSON Web Token (JWT) is a compact URL-safe means of representing claims to be
@@ -76,21 +75,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
@@ -104,6 +98,5 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc CHANGELOG.md README.md doctests.hs
 
 %changelog

++++++ jwt.cabal ++++++
-- Initial atlassian-jwt.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                jwt
version:             0.7.2
x-revision: 1
synopsis:            JSON Web Token (JWT) decoding and encoding
license:             MIT
license-file:        LICENSE
author:              Stefan Saasen
maintainer:          [email protected]
homepage:            https://bitbucket.org/ssaasen/haskell-jwt
bug-reports:         https://bitbucket.org/ssaasen/haskell-jwt/issues
category:            Web
build-type:          Simple
cabal-version:       >=1.16
description:

    JSON Web Token (JWT) is a compact URL-safe means of representing claims to 
be transferred between two parties.
    .
    To get started, see the documentation for the "Web.JWT" module.

extra-source-files:
    CHANGELOG.md
    README.md
    tests/jwt.secret.1

source-repository head
    type: git
    location: https://[email protected]/ssaasen/haskell-jwt.git

library
  exposed-modules:     Web.JWT
  other-modules:       Data.Text.Extended, Data.ByteString.Extended
  build-depends:       base >= 4.8 && < 5
                     , cryptonite               >= 0.6
                     , memory                   >= 0.8
                     , bytestring               >= 0.10
                     , text                     >= 0.11
                     , aeson                    >= 0.7
                     , containers               >= 0.5
                     , unordered-containers     >= 0.2
                     , scientific               >= 0.2
                     , data-default             >= 0.5
                     , http-types               >= 0.8
                     , time                     >= 1.1
                     , vector                   >= 0.7.1
                     , semigroups               >= 0.15.4
                     , network-uri

  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:        -Wall
                      --Werror
                      -fno-warn-unused-do-bind
                      -fno-warn-orphans
                      -fno-warn-name-shadowing

test-suite testsuite
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  main-is:             TestRunner.hs
  -- Make sure the tests are listed here so that they will be part of the 
source distribution
  other-modules:       Web.JWT
                     , Web.JWTInteropTests
                     , Web.JWTTests
                     , Web.JWTTestsCompat
                     , Data.Text.Extended
                     , Data.Text.ExtendedTests
                     , Data.ByteString.ExtendedTests
  hs-source-dirs:      tests/src, src
  build-depends:       base < 5 && >= 4.4
                     , tasty >= 0.7
                     , tasty-th >= 0.1
                     , tasty-hunit >= 0.4
                     , tasty-quickcheck >= 0.3
                     , lens-aeson
                     , lens
                     , HUnit
                     , QuickCheck >= 2.4.0.1
                     , cryptonite
                     , memory
                     , bytestring               >= 0.10
                     , text                     >= 0.11
                     , aeson
                     , scientific               >= 0.2
                     , containers
                     , unordered-containers
                     , data-default
                     , http-types
                     , time                     >= 1.1
                     , vector                   >= 0.7.1
                     , semigroups               >= 0.15.4
                     , network-uri

  cpp-options: -DTEST

test-suite doctests
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  main-is:             doctests.hs
  ghc-options:         -threaded
  build-depends:       base < 5 && >= 4.4
                     , jwt
                     , doctest     >= 0.9.11

Reply via email to