Script 'mail_helper' called by obssrc
Hello community,

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

Package is "ghc-doctemplates"

Tue Apr  4 21:19:49 2023 rev:16 rq:1075860 version:0.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-doctemplates/ghc-doctemplates.changes        
2022-10-13 15:41:55.098711350 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-doctemplates.new.19717/ghc-doctemplates.changes 
    2023-04-04 21:19:57.401013008 +0200
@@ -1,0 +2,12 @@
+Thu Mar 30 17:06:39 UTC 2023 - Peter Simons <[email protected]>
+
+- Updated spec file to conform with ghc-rpm-macros-2.5.2.
+
+-------------------------------------------------------------------
+Mon Nov 21 18:35:18 UTC 2022 - Peter Simons <[email protected]>
+
+- Update doctemplates to version 0.11.
+  Upstream has not updated the file "changelog.md" since the last
+  release.
+
+-------------------------------------------------------------------

Old:
----
  doctemplates-0.10.0.2.tar.gz
  doctemplates.cabal

New:
----
  doctemplates-0.11.tar.gz

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

Other differences:
------------------
++++++ ghc-doctemplates.spec ++++++
--- /var/tmp/diff_new_pack.yeGPQd/_old  2023-04-04 21:19:57.921016324 +0200
+++ /var/tmp/diff_new_pack.yeGPQd/_new  2023-04-04 21:19:57.925016350 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-doctemplates
 #
-# 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,37 +17,55 @@
 
 
 %global pkg_name doctemplates
+%global pkgver %{pkg_name}-%{version}
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.10.0.2
+Version:        0.11
 Release:        0
 Summary:        Pandoc-style document templates
 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-HsYAML-devel
 BuildRequires:  ghc-aeson-devel
+BuildRequires:  ghc-aeson-prof
+BuildRequires:  ghc-base-devel
+BuildRequires:  ghc-base-prof
 BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-containers-prof
 BuildRequires:  ghc-doclayout-devel
+BuildRequires:  ghc-doclayout-prof
 BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-filepath-prof
 BuildRequires:  ghc-mtl-devel
+BuildRequires:  ghc-mtl-prof
 BuildRequires:  ghc-parsec-devel
+BuildRequires:  ghc-parsec-prof
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-safe-devel
+BuildRequires:  ghc-safe-prof
 BuildRequires:  ghc-scientific-devel
+BuildRequires:  ghc-scientific-prof
 BuildRequires:  ghc-text-conversions-devel
+BuildRequires:  ghc-text-conversions-prof
 BuildRequires:  ghc-text-devel
+BuildRequires:  ghc-text-prof
 BuildRequires:  ghc-vector-devel
+BuildRequires:  ghc-vector-prof
 ExcludeArch:    %{ix86}
 %if %{with tests}
 BuildRequires:  ghc-Glob-devel
+BuildRequires:  ghc-Glob-prof
 BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-bytestring-prof
 BuildRequires:  ghc-tasty-devel
 BuildRequires:  ghc-tasty-golden-devel
+BuildRequires:  ghc-tasty-golden-prof
 BuildRequires:  ghc-tasty-hunit-devel
+BuildRequires:  ghc-tasty-hunit-prof
+BuildRequires:  ghc-tasty-prof
 BuildRequires:  ghc-temporary-devel
+BuildRequires:  ghc-temporary-prof
 %endif
 
 %description
@@ -66,9 +84,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
@@ -93,4 +126,9 @@
 
 %files devel -f %{name}-devel.files
 
+%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

++++++ doctemplates-0.10.0.2.tar.gz -> doctemplates-0.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doctemplates-0.10.0.2/README.md 
new/doctemplates-0.11/README.md
--- old/doctemplates-0.10.0.2/README.md 2021-06-23 08:23:30.000000000 +0200
+++ new/doctemplates-0.11/README.md     2001-09-09 03:46:40.000000000 +0200
@@ -1,4 +1,4 @@
-# doctemplates
+#( doctemplates
 
 [![CI
 
tests](https://github.com/jgm/doctemplates/workflows/CI%20tests/badge.svg)](https://github.com/jgm/doctemplates/actions)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doctemplates-0.10.0.2/doctemplates.cabal 
new/doctemplates-0.11/doctemplates.cabal
--- old/doctemplates-0.10.0.2/doctemplates.cabal        2022-04-03 
16:48:31.000000000 +0200
+++ new/doctemplates-0.11/doctemplates.cabal    2001-09-09 03:46:40.000000000 
+0200
@@ -1,5 +1,5 @@
 name:                doctemplates
-version:             0.10.0.2
+version:             0.11
 synopsis:            Pandoc-style document templates
 description:         This is the text templating system used by pandoc.
                      It supports variable interpolation, iteration,
@@ -32,7 +32,6 @@
                        safe,
                        text-conversions,
                        aeson,
-                       HsYAML >= 0.2 && < 0.3,
                        text,
                        doclayout >= 0.4 && < 0.5,
                        containers,
@@ -73,7 +72,7 @@
   Build-Depends:   doctemplates,
                    doclayout >= 0.4 && < 0.5,
                    base >= 4.8 && < 5,
-                   criterion >= 1.0 && < 1.6,
+                   criterion >= 1.0,
                    filepath,
                    aeson,
                    text,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/doctemplates-0.10.0.2/src/Text/DocTemplates/Internal.hs 
new/doctemplates-0.11/src/Text/DocTemplates/Internal.hs
--- old/doctemplates-0.10.0.2/src/Text/DocTemplates/Internal.hs 2022-04-03 
16:48:04.000000000 +0200
+++ new/doctemplates-0.11/src/Text/DocTemplates/Internal.hs     2001-09-09 
03:46:40.000000000 +0200
@@ -37,7 +37,6 @@
 
 import Data.Text.Conversions (FromText(..), ToText(..))
 import Data.Aeson (Value(..), ToJSON(..), FromJSON(..), Result(..), fromJSON)
-import Data.YAML (ToYAML(..), FromYAML(..), Node(..), Scalar(..))
 import Control.Monad.Identity
 import qualified Control.Monad.State.Strict as S
 import Data.Char (chr, ord)
@@ -234,28 +233,6 @@
       MapVal o -> return o
       _        -> fail "Expecting MapVal"
 
-instance TemplateTarget a => FromYAML (Val a) where
-  parseYAML v =
-    case v of
-      Mapping _ _ m -> MapVal . Context . M.fromList <$>
-                           mapM (\(key, val) -> do
-                                  val' <- parseYAML val
-                                  key' <- parseYAML key
-                                  return (key', val')) (M.toList m)
-      Sequence _ _ xs -> ListVal <$> mapM parseYAML xs
-      Scalar _ (SStr t) -> return $ SimpleVal $ fromString . fromText $ t
-      Scalar _ (SFloat n) -> return $ SimpleVal $ fromString . show $ n
-      Scalar _ (SInt n) -> return $ SimpleVal $ fromString . show $ n
-      Scalar _ (SBool b) -> return $ BoolVal b
-      _           -> return NullVal
-
-instance TemplateTarget a => FromYAML (Context a) where
-  parseYAML v = do
-    val <- parseYAML v
-    case val of
-      MapVal o -> return o
-      _        -> fail "Expecting MapVal"
-
 instance TemplateTarget a => ToJSON (Context a) where
   toJSON (Context m) = toJSON m
 
@@ -266,16 +243,6 @@
   toJSON (SimpleVal d) = toJSON $ toText $ DL.render Nothing d
   toJSON (BoolVal b) = toJSON b
 
-instance TemplateTarget a => ToYAML (Context a) where
-  toYAML (Context m) = toYAML m
-
-instance TemplateTarget a => ToYAML (Val a) where
-  toYAML NullVal = toYAML (Nothing :: Maybe Text)
-  toYAML (MapVal m) = toYAML m
-  toYAML (ListVal xs) = toYAML xs
-  toYAML (SimpleVal d) = toYAML $ toText $ DL.render Nothing d
-  toYAML (BoolVal b) = toYAML b
-
 mapDoc :: TemplateTarget a => (Doc a -> Doc a) -> Val a -> Val a
 mapDoc f val =
   case val of
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doctemplates-0.10.0.2/test/keyval.txt 
new/doctemplates-0.11/test/keyval.txt
--- old/doctemplates-0.10.0.2/test/keyval.txt   2019-10-14 00:46:09.000000000 
+0200
+++ new/doctemplates-0.11/test/keyval.txt       1970-01-01 01:00:00.000000000 
+0100
@@ -1 +0,0 @@
-

Reply via email to