Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-some for openSUSE:Factory 
checked in at 2023-10-18 21:26:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-some (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-some.new.31755 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-some"

Wed Oct 18 21:26:03 2023 rev:7 rq:1118486 version:1.0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-some/ghc-some.changes        2023-04-04 
21:23:39.474296977 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-some.new.31755/ghc-some.changes     
2023-10-18 21:26:21.758119559 +0200
@@ -1,0 +2,6 @@
+Wed Oct 11 09:21:38 UTC 2023 - Peter Simons <psim...@suse.com>
+
+- Update some to version 1.0.5 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------

New:
----
  some.cabal

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

Other differences:
------------------
++++++ ghc-some.spec ++++++
--- /var/tmp/diff_new_pack.Z3gHVH/_old  2023-10-18 21:26:22.306139410 +0200
+++ /var/tmp/diff_new_pack.Z3gHVH/_new  2023-10-18 21:26:22.306139410 +0200
@@ -26,6 +26,7 @@
 License:        BSD-3-Clause
 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
 BuildRequires:  ghc-base-devel
 BuildRequires:  ghc-base-prof
@@ -71,6 +72,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ some.cabal ++++++
name:               some
version:            1.0.5
x-revision:         1
cabal-version:      >=1.10
build-type:         Simple
author:
  James Cook <mo...@deepbondi.net>, Oleg Grenrus <oleg.gren...@iki.fi>

maintainer:         Oleg Grenrus <oleg.gren...@iki.fi>
license:            BSD3
license-file:       LICENSE
homepage:           https://github.com/haskellari/some
category:           Data, Dependent Types
synopsis:           Existential type: Some
description:
  This library defines an existential type 'Some'.
  .
  @
  data Some f where
  \    Some :: f a -> Some f
  @
  .
  in few variants, and utilities to work with it.
  .
  If you are unsure which variant to use, use the one in "Data.Some" module.

tested-with:
  GHC ==8.6.5
   || ==8.8.4
   || ==8.10.4
   || ==9.0.2
   || ==9.2.8
   || ==9.4.7
   || ==9.6.3
   || ==9.8.1

extra-source-files: ChangeLog.md

flag newtype-unsafe
  description:
    Use implementation using @newtype@ and unsafe @Any@, instead of GADT

  manual:      True
  default:     True

source-repository head
  type:     git
  location: https://github.com/haskellari/some.git
  subdir:   some

library
  default-language: Haskell2010
  hs-source-dirs:   src

  if flag(newtype-unsafe)
    cpp-options: -DSOME_NEWTYPE

  -- main module
  exposed-modules:  Data.Some
  exposed-modules:
    Data.EqP
    Data.GADT.Compare
    Data.GADT.DeepSeq
    Data.GADT.Show
    Data.OrdP
    Data.Some.Church
    Data.Some.GADT
    Data.Some.Newtype

  other-modules:    Data.GADT.Internal
  build-depends:
      base     >=4.12    && <4.20
    , deepseq  >=1.4.4.0 && <1.6

  if impl(ghc >=9.0)
    -- these flags may abort compilation with GHC-8.10
    -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295
    ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode

  if impl(ghc >=9.1)
    ghc-options: -Wmissing-kind-signatures

test-suite hkd-example
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          HKD.hs
  build-depends:
      base
    , some

Reply via email to