Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-skylighting-format-context for
openSUSE:Factory checked in at 2023-04-04 21:23:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-skylighting-format-context (Old)
and /work/SRC/openSUSE:Factory/.ghc-skylighting-format-context.new.19717
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-skylighting-format-context"
Tue Apr 4 21:23:18 2023 rev:2 rq:1076046 version:0.1.0.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-skylighting-format-context/ghc-skylighting-format-context.changes
2023-01-18 13:09:34.096383335 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-skylighting-format-context.new.19717/ghc-skylighting-format-context.changes
2023-04-04 21:23:36.526280283 +0200
@@ -1,0 +2,11 @@
+Thu Mar 30 17:08:20 UTC 2023 - Peter Simons <[email protected]>
+
+- Updated spec file to conform with ghc-rpm-macros-2.5.2.
+
+-------------------------------------------------------------------
+Tue Feb 14 17:54:31 UTC 2023 - Peter Simons <[email protected]>
+
+- Update skylighting-format-context to version 0.1.0.2.
+ Upstream does not provide a change log file.
+
+-------------------------------------------------------------------
Old:
----
skylighting-format-context-0.1.0.1.tar.gz
New:
----
skylighting-format-context-0.1.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-skylighting-format-context.spec ++++++
--- /var/tmp/diff_new_pack.tr3XYX/_old 2023-04-04 21:23:37.050283251 +0200
+++ /var/tmp/diff_new_pack.tr3XYX/_new 2023-04-04 21:23:37.058283296 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-skylighting-format-context
#
-# 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,24 @@
%global pkg_name skylighting-format-context
+%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
-Version: 0.1.0.1
+Version: 0.1.0.2
Release: 0
Summary: ConTeXt formatter for skylighting syntax highlighting library
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
BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-base-devel
+BuildRequires: ghc-base-prof
BuildRequires: ghc-containers-devel
+BuildRequires: ghc-containers-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-skylighting-core-devel
+BuildRequires: ghc-skylighting-core-prof
BuildRequires: ghc-text-devel
+BuildRequires: ghc-text-prof
ExcludeArch: %{ix86}
%description
@@ -46,6 +52,22 @@
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}
@@ -67,4 +89,9 @@
%files devel -f %{name}-devel.files
%doc README.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
++++++ skylighting-format-context-0.1.0.1.tar.gz ->
skylighting-format-context-0.1.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/skylighting-format-context-0.1.0.1/skylighting-format-context.cabal
new/skylighting-format-context-0.1.0.2/skylighting-format-context.cabal
--- old/skylighting-format-context-0.1.0.1/skylighting-format-context.cabal
2001-09-09 03:46:40.000000000 +0200
+++ new/skylighting-format-context-0.1.0.2/skylighting-format-context.cabal
2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: >=1.10
name: skylighting-format-context
-version: 0.1.0.1
+version: 0.1.0.2
synopsis: ConTeXt formatter for skylighting syntax highlighting
library
description: This module allows tokens produced by skylighting-core
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/skylighting-format-context-0.1.0.1/src/Skylighting/Format/ConTeXt.hs
new/skylighting-format-context-0.1.0.2/src/Skylighting/Format/ConTeXt.hs
--- old/skylighting-format-context-0.1.0.1/src/Skylighting/Format/ConTeXt.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/skylighting-format-context-0.1.0.2/src/Skylighting/Format/ConTeXt.hs
2001-09-09 03:46:40.000000000 +0200
@@ -40,7 +40,12 @@
tokenToConTeXt (NormalTok, txt)
| Text.all isSpace txt = escapeConTeXt txt
tokenToConTeXt (toktype, txt) = "/BTEX\\" <>
- (Text.pack (show toktype) <> "{" <> escapeConTeXt txt <> "}/ETEX")
+ (Text.pack (show toktype) <> "{" <> fixSpaces (escapeConTeXt txt) <>
"}/ETEX")
+ where
+ -- Always place the second of two consecutive spaces in a group. The
+ -- ConTeXt parser would otherwise collapse all spaces into a single
+ -- space.
+ fixSpaces = Text.replace " " " { }"
escapeConTeXt :: Text -> Text
escapeConTeXt = Text.concatMap escapeConTeXtChar