commit ghc-doctemplates for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-doctemplates for 
openSUSE:Factory checked in at 2020-08-28 21:29:40

Comparing /work/SRC/openSUSE:Factory/ghc-doctemplates (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-doctemplates.new.3399 (New)


Package is "ghc-doctemplates"

Fri Aug 28 21:29:40 2020 rev:10 rq:829257 version:0.8.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-doctemplates/ghc-doctemplates.changes
2020-06-19 17:12:09.697905566 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-doctemplates.new.3399/ghc-doctemplates.changes  
2020-08-28 21:29:40.812561839 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:44:41 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-doctemplates.spec ++
--- /var/tmp/diff_new_pack.cbOYpu/_old  2020-08-28 21:29:41.316562078 +0200
+++ /var/tmp/diff_new_pack.cbOYpu/_new  2020-08-28 21:29:41.320562079 +0200
@@ -66,7 +66,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build




commit ghc-doctemplates for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-doctemplates for 
openSUSE:Factory checked in at 2020-06-19 17:12:09

Comparing /work/SRC/openSUSE:Factory/ghc-doctemplates (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-doctemplates.new.3606 (New)


Package is "ghc-doctemplates"

Fri Jun 19 17:12:09 2020 rev:9 rq:815079 version:0.8.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-doctemplates/ghc-doctemplates.changes
2020-05-11 13:35:24.728370268 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-doctemplates.new.3606/ghc-doctemplates.changes  
2020-06-19 17:12:09.697905566 +0200
@@ -1,0 +2,5 @@
+Tue Jun 16 11:14:03 UTC 2020 - Peter Simons 
+
+- Re-generate file with latest version of spec-cleaner.
+
+---



Other differences:
--
++ ghc-doctemplates.spec ++
--- /var/tmp/diff_new_pack.b1NMhR/_old  2020-06-19 17:12:10.629908684 +0200
+++ /var/tmp/diff_new_pack.b1NMhR/_new  2020-06-19 17:12:10.629908684 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-doctemplates
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed




commit ghc-doctemplates for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package ghc-doctemplates for 
openSUSE:Factory checked in at 2020-05-11 13:34:40

Comparing /work/SRC/openSUSE:Factory/ghc-doctemplates (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-doctemplates.new.2738 (New)


Package is "ghc-doctemplates"

Mon May 11 13:34:40 2020 rev:8 rq:801012 version:0.8.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-doctemplates/ghc-doctemplates.changes
2020-03-09 14:16:03.966612685 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-doctemplates.new.2738/ghc-doctemplates.changes  
2020-05-11 13:35:24.728370268 +0200
@@ -1,0 +2,11 @@
+Wed May  6 06:54:10 UTC 2020 - psim...@suse.com
+
+- Update doctemplates to version 0.8.2.
+  ## 0.8.2
+
+* Add filters: first, rest, last, allbutlast.
+
+* New constructors for Filter: FirstItem, LastItem, Rest, AllButLast
+  [API change].
+
+---

Old:

  doctemplates-0.8.1.tar.gz

New:

  doctemplates-0.8.2.tar.gz



Other differences:
--
++ ghc-doctemplates.spec ++
--- /var/tmp/diff_new_pack.RACaig/_old  2020-05-11 13:35:25.344371559 +0200
+++ /var/tmp/diff_new_pack.RACaig/_new  2020-05-11 13:35:25.348371568 +0200
@@ -19,7 +19,7 @@
 %global pkg_name doctemplates
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.8.1
+Version:0.8.2
 Release:0
 Summary:Pandoc-style document templates
 License:BSD-3-Clause

++ doctemplates-0.8.1.tar.gz -> doctemplates-0.8.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doctemplates-0.8.1/README.md 
new/doctemplates-0.8.2/README.md
--- old/doctemplates-0.8.1/README.md2019-12-07 20:47:07.0 +0100
+++ new/doctemplates-0.8.2/README.md2020-04-13 03:26:19.0 +0200
@@ -397,6 +397,22 @@
   value was an array, the `key` will be the array index,
   starting with 1.
 
+- `first`: Returns the first value of an array, if
+  applied to a non-empty array; otherwise returns
+  the original value.
+
+- `last`: Returns the last value of an array, if
+  applied to a non-empty array; otherwise returns
+  the original value.
+
+- `rest`: Returns all but the first value of an array, if
+  applied to a non-empty array; otherwise returns
+  the original value.
+
+- `allbutlast`: Returns all but the last value of an array, if
+  applied to a non-empty array; otherwise returns
+  the original value.
+
 - `uppercase`:  Converts text to uppercase.
 
 - `lowercase`:  Converts text to lowercase.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doctemplates-0.8.1/changelog.md 
new/doctemplates-0.8.2/changelog.md
--- old/doctemplates-0.8.1/changelog.md 2020-01-13 08:18:25.0 +0100
+++ new/doctemplates-0.8.2/changelog.md 2020-04-13 07:09:37.0 +0200
@@ -1,5 +1,12 @@
 # doctemplates
 
+## 0.8.2
+
+  * Add filters: first, rest, last, allbutlast.
+
+  * New constructors for Filter: FirstItem, LastItem, Rest, AllButLast
+[API change].
+
 ## 0.8.1
 
   * Depend on doclayout 0.3, which adds an additional method
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doctemplates-0.8.1/doctemplates.cabal 
new/doctemplates-0.8.2/doctemplates.cabal
--- old/doctemplates-0.8.1/doctemplates.cabal   2020-01-13 08:03:14.0 
+0100
+++ new/doctemplates-0.8.2/doctemplates.cabal   2020-04-13 06:47:48.0 
+0200
@@ -1,5 +1,5 @@
 name:doctemplates
-version: 0.8.1
+version: 0.8.2
 synopsis:Pandoc-style document templates
 description: This is the text templating system used by pandoc.
  It supports variable interpolation, iteration,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doctemplates-0.8.1/src/Text/DocTemplates/Internal.hs 
new/doctemplates-0.8.2/src/Text/DocTemplates/Internal.hs
--- old/doctemplates-0.8.1/src/Text/DocTemplates/Internal.hs2019-12-23 
06:53:31.0 +0100
+++ new/doctemplates-0.8.2/src/Text/DocTemplates/Internal.hs2020-04-13 
07:06:54.0 +0200
@@ -92,6 +92,10 @@
 | ToLowercase
 | ToLength
 | Reverse
+| FirstItem
+| LastItem
+| Rest
+| AllButLast
 | Chomp
 | ToAlpha
 | ToRoman
@@ -315,6 +319,22 @@
   toPair (k, v) = MapVal $ Context $ M.fromList
 [ ("key", SimpleVal $ fromString . T.unpack $ k)
 , ("value", v) ]
+applyPipe FirstItem val =
+  case val of
+ListVal (x:_) -> x
+_ -> val
+applyPipe LastItem val =
+  case val of
+ListVal xs@(_:_) -> last xs
+_ 

commit ghc-doctemplates for openSUSE:Factory

2020-03-09 Thread root
Hello community,

here is the log from the commit of package ghc-doctemplates for 
openSUSE:Factory checked in at 2020-03-09 14:16:00

Comparing /work/SRC/openSUSE:Factory/ghc-doctemplates (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-doctemplates.new.26092 (New)


Package is "ghc-doctemplates"

Mon Mar  9 14:16:00 2020 rev:7 rq:780016 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-doctemplates/ghc-doctemplates.changes
2019-12-27 13:53:11.684651260 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-doctemplates.new.26092/ghc-doctemplates.changes 
2020-03-09 14:16:03.966612685 +0100
@@ -1,0 +2,10 @@
+Thu Feb 27 16:05:49 UTC 2020 - psim...@suse.com
+
+- Update doctemplates to version 0.8.1.
+  ## 0.8.1
+
+* Depend on doclayout 0.3, which adds an additional method
+  on the HasChars class.  This fixes some stack overflows
+  in rendering very long lines.
+
+---

Old:

  doctemplates-0.8.tar.gz

New:

  doctemplates-0.8.1.tar.gz



Other differences:
--
++ ghc-doctemplates.spec ++
--- /var/tmp/diff_new_pack.oJKxqj/_old  2020-03-09 14:16:05.250613532 +0100
+++ /var/tmp/diff_new_pack.oJKxqj/_new  2020-03-09 14:16:05.294613561 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-doctemplates
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global pkg_name doctemplates
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.8
+Version:0.8.1
 Release:0
 Summary:Pandoc-style document templates
 License:BSD-3-Clause

++ doctemplates-0.8.tar.gz -> doctemplates-0.8.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doctemplates-0.8/changelog.md 
new/doctemplates-0.8.1/changelog.md
--- old/doctemplates-0.8/changelog.md   2019-12-07 20:57:11.0 +0100
+++ new/doctemplates-0.8.1/changelog.md 2020-01-13 08:18:25.0 +0100
@@ -1,5 +1,11 @@
 # doctemplates
 
+## 0.8.1
+
+  * Depend on doclayout 0.3, which adds an additional method
+on the HasChars class.  This fixes some stack overflows
+in rendering very long lines.
+
 ## 0.8
 
   * Change `Filter` data type to `Pipe`.  Use the nomenclature of
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doctemplates-0.8/doctemplates.cabal 
new/doctemplates-0.8.1/doctemplates.cabal
--- old/doctemplates-0.8/doctemplates.cabal 2019-12-07 20:50:31.0 
+0100
+++ new/doctemplates-0.8.1/doctemplates.cabal   2020-01-13 08:03:14.0 
+0100
@@ -1,5 +1,5 @@
 name:doctemplates
-version: 0.8
+version: 0.8.1
 synopsis:Pandoc-style document templates
 description: This is the text templating system used by pandoc.
  It supports variable interpolation, iteration,
@@ -34,7 +34,7 @@
aeson,
HsYAML,
text,
-   doclayout >= 0.2 && < 0.3,
+   doclayout >= 0.3 && < 0.4,
containers,
vector,
filepath,
@@ -53,7 +53,7 @@
   main-is: test.hs
   build-depends:   base,
doctemplates,
-   doclayout >= 0.2 && < 0.3,
+   doclayout >= 0.3 && < 0.4,
containers,
aeson,
Glob,
@@ -72,7 +72,7 @@
   Main-Is: bench.hs
   Hs-Source-Dirs:  bench
   Build-Depends:   doctemplates,
-   doclayout >= 0.2 && < 0.3,
+   doclayout >= 0.3 && < 0.4,
base >= 4.8 && < 5,
criterion >= 1.0 && < 1.6,
filepath,




commit ghc-doctemplates for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-doctemplates for 
openSUSE:Factory checked in at 2019-12-27 13:53:05

Comparing /work/SRC/openSUSE:Factory/ghc-doctemplates (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-doctemplates.new.6675 (New)


Package is "ghc-doctemplates"

Fri Dec 27 13:53:05 2019 rev:6 rq:759385 version:0.8

Changes:

--- /work/SRC/openSUSE:Factory/ghc-doctemplates/ghc-doctemplates.changes
2018-10-25 08:24:51.647842905 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-doctemplates.new.6675/ghc-doctemplates.changes  
2019-12-27 13:53:11.684651260 +0100
@@ -1,0 +2,13 @@
+Mon Dec 23 17:45:39 UTC 2019 - psim...@suse.com
+
+- Update doctemplates to version 0.8.
+  Upstream added a new change log file in this release. With no
+  previous version to compare against, the automatic updater cannot
+  reliable determine the relevante entries for this release.
+
+---
+Fri Nov  8 16:13:38 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---

Old:

  doctemplates-0.2.2.1.tar.gz

New:

  doctemplates-0.8.tar.gz



Other differences:
--
++ ghc-doctemplates.spec ++
--- /var/tmp/diff_new_pack.MuSUxU/_old  2019-12-27 13:53:12.292651692 +0100
+++ /var/tmp/diff_new_pack.MuSUxU/_new  2019-12-27 13:53:12.292651692 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-doctemplates
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,35 +19,44 @@
 %global pkg_name doctemplates
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.2.1
+Version:0.8
 Release:0
 Summary:Pandoc-style document templates
 License:BSD-3-Clause
-Group:  Development/Libraries/Haskell
 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-HsYAML-devel
 BuildRequires:  ghc-aeson-devel
-BuildRequires:  ghc-blaze-html-devel
-BuildRequires:  ghc-blaze-markup-devel
-BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-doclayout-devel
+BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-parsec-devel
 BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-safe-devel
 BuildRequires:  ghc-scientific-devel
+BuildRequires:  ghc-text-conversions-devel
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-unordered-containers-devel
 BuildRequires:  ghc-vector-devel
 %if %{with tests}
-BuildRequires:  ghc-hspec-devel
+BuildRequires:  ghc-Glob-devel
+BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-tasty-devel
+BuildRequires:  ghc-tasty-golden-devel
+BuildRequires:  ghc-tasty-hunit-devel
+BuildRequires:  ghc-temporary-devel
 %endif
 
 %description
-A simple text templating system used by pandoc.
+This is the text templating system used by pandoc. It supports variable
+interpolation, iteration, tests for non-blank values, pipes, and partials.
+Templates are rendered to doclayout Docs, and variable values may come from a
+variety of different sources, including aeson Values.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -78,6 +87,7 @@
 %license LICENSE
 %dir %{_datadir}/%{pkg_name}-%{version}
 %{_datadir}/%{pkg_name}-%{version}/README.md
+%{_datadir}/%{pkg_name}-%{version}/changelog.md
 
 %files devel -f %{name}-devel.files
 

++ doctemplates-0.2.2.1.tar.gz -> doctemplates-0.8.tar.gz ++
 3379 lines of diff (skipped)




commit ghc-doctemplates for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-doctemplates for 
openSUSE:Factory checked in at 2018-10-25 08:24:48

Comparing /work/SRC/openSUSE:Factory/ghc-doctemplates (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-doctemplates.new (New)


Package is "ghc-doctemplates"

Thu Oct 25 08:24:48 2018 rev:5 rq:643385 version:0.2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-doctemplates/ghc-doctemplates.changes
2018-07-24 17:18:08.250972801 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-doctemplates.new/ghc-doctemplates.changes   
2018-10-25 08:24:51.647842905 +0200
@@ -1,0 +2,5 @@
+Sat Oct 20 11:31:27 UTC 2018 - Peter Simons 
+
+- Use https URL to refer to bugs.opensuse.org.
+
+---



Other differences:
--
++ ghc-doctemplates.spec ++
--- /var/tmp/diff_new_pack.K3A0fs/_old  2018-10-25 08:24:52.147842677 +0200
+++ /var/tmp/diff_new_pack.K3A0fs/_new  2018-10-25 08:24:52.151842675 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 




commit ghc-doctemplates for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package ghc-doctemplates for 
openSUSE:Factory checked in at 2018-07-24 17:18:04

Comparing /work/SRC/openSUSE:Factory/ghc-doctemplates (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-doctemplates.new (New)


Package is "ghc-doctemplates"

Tue Jul 24 17:18:04 2018 rev:4 rq:623761 version:0.2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-doctemplates/ghc-doctemplates.changes
2018-05-30 12:25:30.417932757 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-doctemplates.new/ghc-doctemplates.changes   
2018-07-24 17:18:08.250972801 +0200
@@ -1,0 +2,6 @@
+Wed Jul 18 14:26:22 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
@@ -16 +21,0 @@
-



Other differences:
--



commit ghc-doctemplates for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-doctemplates for 
openSUSE:Factory checked in at 2018-05-30 12:06:59

Comparing /work/SRC/openSUSE:Factory/ghc-doctemplates (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-doctemplates.new (New)


Package is "ghc-doctemplates"

Wed May 30 12:06:59 2018 rev:3 rq:607787 version:0.2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-doctemplates/ghc-doctemplates.changes
2017-09-15 21:36:28.655005465 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-doctemplates.new/ghc-doctemplates.changes   
2018-05-30 12:25:30.417932757 +0200
@@ -1,0 +2,6 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update doctemplates to version 0.2.2.1.
+  Upstream does not provide a changelog.
+
+---

Old:

  doctemplates-0.1.0.2.tar.gz

New:

  doctemplates-0.2.2.1.tar.gz



Other differences:
--
++ ghc-doctemplates.spec ++
--- /var/tmp/diff_new_pack.f9iSF9/_old  2018-05-30 12:25:31.257905090 +0200
+++ /var/tmp/diff_new_pack.f9iSF9/_new  2018-05-30 12:25:31.261904958 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-doctemplates
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global pkg_name doctemplates
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.1.0.2
+Version:0.2.2.1
 Release:0
 Summary:Pandoc-style document templates
 License:BSD-3-Clause
@@ -43,7 +43,7 @@
 %endif
 
 %description
-A simple text templating system predominently used by Pandoc.
+A simple text templating system used by pandoc.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
@@ -75,11 +75,10 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 %dir %{_datadir}/%{pkg_name}-%{version}
 %{_datadir}/%{pkg_name}-%{version}/README.md
 
 %files devel -f %{name}-devel.files
-%doc doctemplates.cabal
 
 %changelog

++ doctemplates-0.1.0.2.tar.gz -> doctemplates-0.2.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doctemplates-0.1.0.2/README.md 
new/doctemplates-0.2.2.1/README.md
--- old/doctemplates-0.1.0.2/README.md  2016-10-01 16:02:39.0 +0200
+++ new/doctemplates-0.2.2.1/README.md  2018-03-09 22:33:04.0 +0100
@@ -62,3 +62,5 @@
 You may optionally specify separators using `$sep$`, as in the
 example above.
 
+Anything between the sequence `$--` and the end of the line
+will be treated as a comment.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doctemplates-0.1.0.2/doctemplates.cabal 
new/doctemplates-0.2.2.1/doctemplates.cabal
--- old/doctemplates-0.1.0.2/doctemplates.cabal 2016-10-02 12:28:18.0 
+0200
+++ new/doctemplates-0.2.2.1/doctemplates.cabal 2018-03-16 20:30:46.0 
+0100
@@ -1,7 +1,7 @@
 name:doctemplates
-version: 0.1.0.2
+version: 0.2.2.1
 synopsis:Pandoc-style document templates
-description: Please see README.md
+description: A simple text templating system used by pandoc.
 homepage:https://github.com/jgm/doctemplates#readme
 license: BSD3
 license-file:LICENSE
@@ -28,6 +28,8 @@
parsec,
unordered-containers,
scientific
+  if !impl(ghc >= 8.0)
+build-depends: semigroups == 0.18.*
   default-language:Haskell2010
   ghc-options: -Wall -fno-warn-unused-do-bind
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doctemplates-0.1.0.2/src/Text/DocTemplates.hs 
new/doctemplates-0.2.2.1/src/Text/DocTemplates.hs
--- old/doctemplates-0.1.0.2/src/Text/DocTemplates.hs   2016-10-02 
11:35:52.0 +0200
+++ new/doctemplates-0.2.2.1/src/Text/DocTemplates.hs   2018-03-16 
20:30:18.0 +0100
@@ -97,11 +97,12 @@
 import Data.ByteString.Lazy (ByteString, fromChunks)
 import Data.Vector ((!?))
 import Data.Scientific (floatingOrInteger)
+import Data.Semigroup (Semigroup)
 
 -- | A 'Template' is essentially a function that takes
 -- a JSON 'Value' and produces 'Text'.
 newtype Template = Template { unTemplate :: Value -> Text }
- deriving Monoid
+ deriving (Semigroup, Monoid)
 
 type Variable = [Text]
 
@@ -215,6 +216,7 @@
 pFor <|>
 pNewline <|>
   

commit ghc-doctemplates for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-doctemplates for 
openSUSE:Factory checked in at 2017-09-15 21:36:27

Comparing /work/SRC/openSUSE:Factory/ghc-doctemplates (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-doctemplates.new (New)


Package is "ghc-doctemplates"

Fri Sep 15 21:36:27 2017 rev:2 rq:524436 version:0.1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-doctemplates/ghc-doctemplates.changes
2017-03-31 15:07:45.287082591 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-doctemplates.new/ghc-doctemplates.changes   
2017-09-15 21:36:28.655005465 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-doctemplates.spec ++
--- /var/tmp/diff_new_pack.u3I5y7/_old  2017-09-15 21:36:29.530882048 +0200
+++ /var/tmp/diff_new_pack.u3I5y7/_new  2017-09-15 21:36:29.538880921 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Pandoc-style document templates
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+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-aeson-devel
@@ -38,7 +38,6 @@
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-unordered-containers-devel
 BuildRequires:  ghc-vector-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 %endif
@@ -48,7 +47,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -76,13 +75,11 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 %dir %{_datadir}/%{pkg_name}-%{version}
 %{_datadir}/%{pkg_name}-%{version}/README.md
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc doctemplates.cabal
 
 %changelog