Hello community,
here is the log from the commit of package ghc-persistable-record for
openSUSE:Factory checked in at 2017-01-31 12:47:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-persistable-record (Old)
and /work/SRC/openSUSE:Factory/.ghc-persistable-record.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-persistable-record"
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-persistable-record/ghc-persistable-record.changes
2017-01-23 11:33:11.549591529 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-persistable-record.new/ghc-persistable-record.changes
2017-02-03 17:39:35.320671284 +0100
@@ -1,0 +2,10 @@
+Tue Nov 1 18:14:06 UTC 2016 - [email protected]
+
+- Update to version 0.4.1.0 with cabal2obs.
+
+-------------------------------------------------------------------
+Sat Oct 1 17:18:11 UTC 2016 - [email protected]
+
+- Update to version 0.4.0.3 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
persistable-record-0.4.0.2.tar.gz
New:
----
persistable-record-0.4.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-persistable-record.spec ++++++
--- /var/tmp/diff_new_pack.WzctZ1/_old 2017-02-03 17:39:35.908588069 +0100
+++ /var/tmp/diff_new_pack.WzctZ1/_new 2017-02-03 17:39:35.908588069 +0100
@@ -18,15 +18,14 @@
%global pkg_name persistable-record
Name: ghc-%{pkg_name}
-Version: 0.4.0.2
+Version: 0.4.1.0
Release: 0
Summary: Binding between SQL database values and haskell records
License: BSD-3-Clause
-Group: System/Libraries
+Group: Development/Languages/Other
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-array-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-dlist-devel
@@ -36,7 +35,6 @@
BuildRequires: ghc-th-data-compat-devel
BuildRequires: ghc-transformers-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
%description
This package contiains types to represent table constraints and interfaces to
@@ -57,15 +55,12 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-
%build
%ghc_lib_build
-
%install
%ghc_lib_install
-
%post devel
%ghc_pkg_recache
++++++ persistable-record-0.4.0.2.tar.gz -> persistable-record-0.4.1.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/persistable-record-0.4.0.2/persistable-record.cabal
new/persistable-record-0.4.1.0/persistable-record.cabal
--- old/persistable-record-0.4.0.2/persistable-record.cabal 2016-06-19
08:14:34.000000000 +0200
+++ new/persistable-record-0.4.1.0/persistable-record.cabal 2016-10-31
08:03:01.000000000 +0100
@@ -1,5 +1,5 @@
name: persistable-record
-version: 0.4.0.2
+version: 0.4.1.0
synopsis: Binding between SQL database values and haskell records.
description: This package contiains types to represent table
constraints and
interfaces to bind between SQL database values and
Haskell records.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/persistable-record-0.4.0.2/src/Database/Record/TH.hs
new/persistable-record-0.4.1.0/src/Database/Record/TH.hs
--- old/persistable-record-0.4.0.2/src/Database/Record/TH.hs 2016-06-19
08:14:34.000000000 +0200
+++ new/persistable-record-0.4.1.0/src/Database/Record/TH.hs 2016-10-31
08:03:01.000000000 +0100
@@ -53,8 +53,9 @@
-- * Templates about record type name
NameConfig, defaultNameConfig,
+ recordTypeName, columnName,
- recordTypeName, recordType,
+ recordType,
columnOffsetsVarNameDefault,
@@ -109,7 +110,8 @@
instance Show NameConfig where
show = const "<nameConfig>"
--- | Default implementation of 'NameConfig' type
+-- | Default implementation of 'NameConfig' type.
+-- To customize this, use record update syntax.
defaultNameConfig :: NameConfig
defaultNameConfig =
NameConfig
@@ -228,10 +230,6 @@
offs <- defineColumnOffsets typeName' [ty | (_, ty) <- columns]
return $ rec : offs
--- | Generate column name from 'String'.
-columnDefault :: String -> TypeQ -> (VarName, TypeQ)
-columnDefault n t = (varCamelcaseName n, t)
-
-- | Record type declaration template with configured names.
defineRecordTypeWithConfig :: NameConfig -> String -> String -> [(String,
TypeQ)] -> [Name] -> Q [Dec]
defineRecordTypeWithConfig config schema table columns =