From 1dcd00c61a17cf098f4071e887a357832c00ebfb Mon Sep 17 00:00:00 2001
From: Jens Petersen <petersen@redhat.com>
Date: Thu, 21 Feb 2019 12:26:44 +0800
Subject: [PATCH] update to 0.4.5.2

---
 .gitignore                    |  1 +
 ghc-transformers-base.spec    | 11 +++++---
 sources                       |  2 +-
 transformers-base-0.4.4.cabal | 50 -----------------------------------
 4 files changed, 9 insertions(+), 55 deletions(-)
 delete mode 100644 transformers-base-0.4.4.cabal

diff --git a/.gitignore b/.gitignore
index 041c2ed..478b4d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /transformers-base-0.4.1.tar.gz
 /transformers-base-0.4.3.tar.gz
 /transformers-base-0.4.4.tar.gz
+/transformers-base-0.4.5.2.tar.gz
diff --git a/ghc-transformers-base.spec b/ghc-transformers-base.spec
index e3bf12b..fd8deb5 100644
--- a/ghc-transformers-base.spec
+++ b/ghc-transformers-base.spec
@@ -5,20 +5,20 @@
 %global pkgver %{pkg_name}-%{version}
 
 Name:           ghc-%{pkg_name}
-Version:        0.4.4
-Release:        13%{?dist}
+Version:        0.4.5.2
+Release:        1%{?dist}
 Summary:        Lift computations from the bottom of a transformer stack
 
 License:        BSD
 Url:            https://hackage.haskell.org/package/%{pkg_name}
 # Begin cabal-rpm sources:
 Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
-Source1:        https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
 # End cabal-rpm sources
 
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-base-orphans-devel
 BuildRequires:  ghc-stm-devel
 BuildRequires:  ghc-transformers-compat-devel
 BuildRequires:  ghc-transformers-devel
@@ -47,7 +47,6 @@ files.
 %prep
 # Begin cabal-rpm setup:
 %setup -q -n %{pkgver}
-cp -bp %{SOURCE1} %{pkg_name}.cabal
 # End cabal-rpm setup
 
 
@@ -78,9 +77,13 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
 
 
 %files devel -f %{name}-devel.files
+%doc README.md
 
 
 %changelog
+* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 0.4.5.2-1
+- update to 0.4.5.2
+
 * Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.4.4-13
 - refresh to cabal-rpm-0.13
 
diff --git a/sources b/sources
index 9a18e47..bb53e41 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d2904686fa190187ea99e756c8f2c901  transformers-base-0.4.4.tar.gz
+SHA512 (transformers-base-0.4.5.2.tar.gz) = 5953d99fee3a02f825c096cf035a5ee825da17e154ca9847ddb215dee54a96a8b28af2b4adb639ef3548ea9aa8a2cb781563c7ffbb399bed5a35c056d03bcbd4
diff --git a/transformers-base-0.4.4.cabal b/transformers-base-0.4.4.cabal
deleted file mode 100644
index 352f8ed..0000000
--- a/transformers-base-0.4.4.cabal
+++ /dev/null
@@ -1,50 +0,0 @@
-Name: transformers-base
-Version: 0.4.4
-x-revision: 1
-Category: Control
-Stability: experimental
-Synopsis: Lift computations from the bottom of a transformer stack
-Description:
-  This package provides a straightforward port of @monadLib@'s BaseM
-  typeclass to @transformers@.
-
-Homepage: https://github.com/mvv/transformers-base
-Bug-Reports: https://github.com/mvv/transformers-base/issues
-
-Author:
-  Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>,
-  Bas van Dijk <v.dijk.bas@gmail.com>
-Maintainer: Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>
-Copyright:
-  2011 Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>,
-       Bas van Dijk <v.dijk.bas@gmail.com>
-License: BSD3
-License-File: LICENSE
-
-Cabal-Version: >= 1.6.0
-Build-Type: Simple
-
-Source-Repository head
-  Type: git
-  Location: https://github.com/mvv/transformers-base.git
-
-Flag OrphanInstances
-  Description:
-    Declare orphan Applicative instances for lazy and strict ST if needed
-  Default: True
-
-Library
-  Build-Depends:
-    base                >= 3 && < 5,
-    base                < 4.4 || >= 4.5,
-    stm                 >= 2.3,
-    transformers        >= 0.2,
-    transformers-compat >= 0.2
-  Hs-Source-Dirs: src
-  GHC-Options: -Wall
-  if flag(OrphanInstances)
-    CPP-Options: -DHS_TRANSFORMERS_BASE__ORPHANS=1
-  else
-    CPP-Options: -DHS_TRANSFORMERS_BASE__ORPHANS=0
-  Exposed-Modules:
-    Control.Monad.Base