commit ghc-tabular for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-tabular for openSUSE:Factory 
checked in at 2020-09-07 21:32:31

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


Package is "ghc-tabular"

Mon Sep  7 21:32:31 2020 rev:3 rq:832323 version:0.2.2.8

Changes:

--- /work/SRC/openSUSE:Factory/ghc-tabular/ghc-tabular.changes  2020-08-28 
21:38:48.440821280 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-tabular.new.3399/ghc-tabular.changes
2020-09-07 21:32:37.373305250 +0200
@@ -1,0 +2,6 @@
+Tue Sep  1 14:36:11 UTC 2020 - psim...@suse.com
+
+- Update tabular to version 0.2.2.8.
+  Upstream does not provide a change log file.
+
+---

Old:

  tabular-0.2.2.7.tar.gz

New:

  tabular-0.2.2.8.tar.gz



Other differences:
--
++ ghc-tabular.spec ++
--- /var/tmp/diff_new_pack.0UgTT2/_old  2020-09-07 21:32:39.197306087 +0200
+++ /var/tmp/diff_new_pack.0UgTT2/_new  2020-09-07 21:32:39.201306089 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name tabular
 Name:   ghc-%{pkg_name}
-Version:0.2.2.7
+Version:0.2.2.8
 Release:0
 Summary:Two-dimensional data tables with rendering functions
 License:BSD-3-Clause

++ tabular-0.2.2.7.tar.gz -> tabular-0.2.2.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tabular-0.2.2.7/Setup.hs new/tabular-0.2.2.8/Setup.hs
--- old/tabular-0.2.2.7/Setup.hs1970-01-01 01:00:00.0 +0100
+++ new/tabular-0.2.2.8/Setup.hs2001-09-09 03:46:40.0 +0200
@@ -0,0 +1,3 @@
+#!/usr/bin/env runhaskell
+import Distribution.Simple
+main = defaultMain
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tabular-0.2.2.7/Setup.lhs 
new/tabular-0.2.2.8/Setup.lhs
--- old/tabular-0.2.2.7/Setup.lhs   2015-02-26 10:28:06.0 +0100
+++ new/tabular-0.2.2.8/Setup.lhs   1970-01-01 01:00:00.0 +0100
@@ -1,3 +0,0 @@
-#!/usr/bin/env runhaskell
-> import Distribution.Simple
-> main = defaultMain
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tabular-0.2.2.7/Text/Tabular.hs 
new/tabular-0.2.2.8/Text/Tabular.hs
--- old/tabular-0.2.2.7/Text/Tabular.hs 2015-02-26 10:28:06.0 +0100
+++ new/tabular-0.2.2.8/Text/Tabular.hs 2001-09-09 03:46:40.0 +0200
@@ -9,7 +9,9 @@
 import Control.Monad.State (evalState, State, get, put)
 
 data Properties = NoLine | SingleLine | DoubleLine
+deriving (Show)
 data Header h = Header h | Group Properties [Header h]
+  deriving (Show)
 
 -- |
 -- > example = Table
@@ -39,28 +41,7 @@
 -- > -- B 2 ||better | no chance ||crawling | amazing
 -- > -- B 3 ||   meh |   well... ||  worst ever |  ok
 data Table rh ch a = Table (Header rh) (Header ch) [[a]]
-
--- --
---
--- --
-
-{-
--- | A 'Table' of "FancyCell"
-type FancyTable d a = Table (FancyCell d a)
-
--- | 'FancyCell' @decorations a@ is a table cell that is associated with
---   decorations of your choosing (for example, a cell colour) as well as
---   instructions to merge that cell with its neighbours down or to the
---   right.  We include special versions of the rendering functions that
---   recognise the merge instructions, but you will have to supply the
---   code that deals with the decorations.
-type FancyCell decorations a = (a, Maybe decorations, Maybe MergeInfo)
-
-
-data MergeInfo = MergeInfo { mergeDown :: Int
-   , mergeRight :: Int
-   }
--}
+   deriving (Show)
 
 -- --
 -- * Helper functions for rendering
@@ -147,6 +128,7 @@
 -- >   +.+ row "B 2" ["better", "no chance", "crawling", "amazing"]
 -- >   +.+ row "B 3" ["meh",  "well...", "worst ever", "ok"]
 data SemiTable h a = SemiTable (Header h) [a]
+   deriving (Show)
 
 empty :: Table rh ch a
 empty = Table (Group NoLine []) (Group NoLine []) []
@@ -168,7 +150,7 @@
 beside prop (Table rows cols1 data1)
 (SemiTable  cols2 data2) =
   Table rows (Group prop [cols1, cols2])
- (zipWith (++) data1 [data2])
+ (zipWith (\xs x -> xs ++ [x]) data1 data2)
 
 below :: Properties -> Table rh ch a -> SemiTable rh a -> Table rh ch a
 below prop (Table rows1 cols data1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tabular-0.2.2.7/

commit ghc-tabular for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-tabular for openSUSE:Factory 
checked in at 2020-08-28 21:38:46

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


Package is "ghc-tabular"

Fri Aug 28 21:38:46 2020 rev:2 rq:829433 version:0.2.2.7

Changes:

--- /work/SRC/openSUSE:Factory/ghc-tabular/ghc-tabular.changes  2020-06-19 
17:04:22.104666759 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-tabular.new.3399/ghc-tabular.changes
2020-08-28 21:38:48.440821280 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:46:08 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-tabular.spec ++
--- /var/tmp/diff_new_pack.HkyYDn/_old  2020-08-28 21:38:49.000821545 +0200
+++ /var/tmp/diff_new_pack.HkyYDn/_new  2020-08-28 21:38:49.004821547 +0200
@@ -58,7 +58,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-tabular for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-tabular for openSUSE:Factory 
checked in at 2017-09-15 22:15:58

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


Package is "ghc-tabular"

Fri Sep 15 22:15:58 2017 rev:2 rq:525466 version:0.2.2.7

Changes:

--- /work/SRC/openSUSE:Factory/ghc-tabular/ghc-tabular.changes  2016-10-26 
21:48:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-tabular.new/ghc-tabular.changes 
2017-09-15 22:15:59.304977502 +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-tabular.spec ++
--- /var/tmp/diff_new_pack.DQ89wo/_old  2017-09-15 22:16:00.328833274 +0200
+++ /var/tmp/diff_new_pack.DQ89wo/_new  2017-09-15 22:16:00.332832711 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-tabular
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -22,17 +22,14 @@
 Release:0
 Summary:Two-dimensional data tables with rendering functions
 License:BSD-3-Clause
-Group:  System/Libraries
-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
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-csv-devel
 BuildRequires:  ghc-html-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 Tabular provides a Haskell representation of two-dimensional data tables, the
@@ -53,7 +50,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}
@@ -65,15 +62,12 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 
@@ -81,11 +75,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc example
 
 %changelog