Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-boring for openSUSE:Factory 
checked in at 2023-04-04 21:18:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-boring (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-boring.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-boring"

Tue Apr  4 21:18:50 2023 rev:4 rq:1075792 version:0.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-boring/ghc-boring.changes    2022-10-13 
15:41:20.458643726 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-boring.new.19717/ghc-boring.changes 
2023-04-04 21:18:55.760620009 +0200
@@ -1,0 +2,20 @@
+Thu Mar 30 17:06:03 UTC 2023 - Peter Simons <[email protected]>
+
+- Updated spec file to conform with ghc-rpm-macros-2.5.2.
+
+-------------------------------------------------------------------
+Wed Mar 15 13:19:10 UTC 2023 - Peter Simons <[email protected]>
+
+- Update boring to version 0.2.1.
+  ## 0.2.1
+
+  -  Add instances for `SNat`, `SSymbol`, and `SChar`
+     (singletons introduced in `base-4.18.0.0`)
+
+-------------------------------------------------------------------
+Tue Mar 14 09:58:19 UTC 2023 - Peter Simons <[email protected]>
+
+- Update boring to version 0.2 revision 3.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------

Old:
----
  boring-0.2.tar.gz
  boring.cabal

New:
----
  boring-0.2.1.tar.gz

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

Other differences:
------------------
++++++ ghc-boring.spec ++++++
--- /var/tmp/diff_new_pack.0DoO7Y/_old  2023-04-04 21:18:56.316623554 +0200
+++ /var/tmp/diff_new_pack.0DoO7Y/_new  2023-04-04 21:18:56.324623605 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-boring
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,22 @@
 
 
 %global pkg_name boring
+%global pkgver %{pkg_name}-%{version}
 Name:           ghc-%{pkg_name}
-Version:        0.2
+Version:        0.2.1
 Release:        0
 Summary:        Boring and Absurd types
 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/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-base-devel
+BuildRequires:  ghc-base-prof
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-tagged-devel
+BuildRequires:  ghc-tagged-prof
 BuildRequires:  ghc-transformers-devel
+BuildRequires:  ghc-transformers-prof
 ExcludeArch:    %{ix86}
 
 %description
@@ -49,9 +53,24 @@
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
+%package -n ghc-%{pkg_name}-doc
+Summary:        Haskell %{pkg_name} library documentation
+Requires:       ghc-filesystem
+BuildArch:      noarch
+
+%description -n ghc-%{pkg_name}-doc
+This package provides the Haskell %{pkg_name} library documentation.
+
+%package -n ghc-%{pkg_name}-prof
+Summary:        Haskell %{pkg_name} profiling library
+Requires:       ghc-%{pkg_name}-devel = %{version}-%{release}
+Supplements:    (ghc-%{pkg_name}-devel and ghc-prof)
+
+%description -n ghc-%{pkg_name}-prof
+This package provides the Haskell %{pkg_name} profiling library.
+
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
@@ -71,4 +90,9 @@
 %files devel -f %{name}-devel.files
 %doc ChangeLog.md
 
+%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
+%license LICENSE
+
+%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
+
 %changelog

++++++ boring-0.2.tar.gz -> boring-0.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/boring-0.2/ChangeLog.md new/boring-0.2.1/ChangeLog.md
--- old/boring-0.2/ChangeLog.md 2001-09-09 03:46:40.000000000 +0200
+++ new/boring-0.2.1/ChangeLog.md       2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,10 @@
 # Revision history for boring
 
+## 0.2.1
+
+-  Add instances for `SNat`, `SSymbol`, and `SChar`
+   (singletons introduced in `base-4.18.0.0`)
+
 ## 0.2
 
 - Make `boring` package dependency light.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/boring-0.2/boring.cabal new/boring-0.2.1/boring.cabal
--- old/boring-0.2/boring.cabal 2001-09-09 03:46:40.000000000 +0200
+++ new/boring-0.2.1/boring.cabal       2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 name:               boring
-version:            0.2
+version:            0.2.1
 synopsis:           Boring and Absurd types
 description:
   * @Boring@ types are isomorphic to @()@.
@@ -29,8 +29,11 @@
    || ==8.4.4
    || ==8.6.5
    || ==8.8.4
-   || ==8.10.4
-   || ==9.0.1
+   || ==8.10.7
+   || ==9.0.2
+   || ==9.2.7
+   || ==9.4.4
+   || ==9.6.1
 
 source-repository head
   type:     git
@@ -49,8 +52,8 @@
 library
   exposed-modules:  Data.Boring
   build-depends:
-      base          >=4.5 && <4.16
-    , transformers  >=0.3 && <0.6
+      base          >=4.5 && <4.19
+    , transformers  >=0.3 && <0.7
 
   if impl(ghc <7.6)
     build-depends: ghc-prim
@@ -63,8 +66,8 @@
 
   if !impl(ghc >=8.0)
     build-depends:
-        semigroups           >=0.18.5 && <0.20
-      , transformers-compat  >=0.5    && <0.7
+        semigroups           >=0.18.5 && <0.21
+      , transformers-compat  >=0.5    && <0.8
 
   if flag(tagged) || !impl(ghc >=7.8)
     build-depends: tagged >=0.8.6 && <0.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/boring-0.2/src/Data/Boring.hs 
new/boring-0.2.1/src/Data/Boring.hs
--- old/boring-0.2/src/Data/Boring.hs   2001-09-09 03:46:40.000000000 +0200
+++ new/boring-0.2.1/src/Data/Boring.hs 2001-09-09 03:46:40.000000000 +0200
@@ -92,6 +92,11 @@
 import qualified Type.Reflection as Typeable
 #endif
 
+#if MIN_VERSION_base(4,18,0)
+import qualified GHC.TypeLits as TypeLits
+import qualified GHC.TypeNats as TypeNats
+#endif
+
 #ifdef MIN_VERSION_tagged
 import Data.Tagged (Tagged (..))
 #endif
@@ -205,6 +210,17 @@
     boring = Typeable.typeRep
 #endif
 
+#if MIN_VERSION_base(4,18,0)
+instance TypeLits.KnownChar n => Boring (TypeLits.SChar n) where
+    boring = TypeLits.charSing
+
+instance TypeLits.KnownSymbol n => Boring (TypeLits.SSymbol n) where
+    boring = TypeLits.symbolSing
+
+instance TypeNats.KnownNat n => Boring (TypeNats.SNat n) where
+    boring = TypeNats.natSing
+#endif
+
 -------------------------------------------------------------------------------
 -- Generics
 -------------------------------------------------------------------------------

Reply via email to