add default text patch

This commit is contained in:
Jens Petersen 2017-02-28 22:47:32 +09:00
parent 2785659e4e
commit 2f74ca5f62
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/src/Shelly/Pipe.hs b/src/Shelly/Pipe.hs
index 7fe7d98..7f3ff4c 100644
--- a/src/Shelly/Pipe.hs
+++ b/src/Shelly/Pipe.hs
@@ -119,8 +119,6 @@ import Data.Tree(Tree)
import Data.Text as T hiding (concat, all, find, cons)
-default (T.Text)
-
-- | This type is a simple wrapper for a type @Shelly.Sh@.
-- 'Sh' contains a list of results.

View File

@ -21,7 +21,7 @@ Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{liftedasync}/%{liftedasync}.tar.gz
Source2: https://hackage.haskell.org/package/%{constraints}/%{constraints}.tar.gz
Patch1: shelly-default-text-32a1e29.patch
Patch1: https://github.com/k0001/Shelly.hs/commit/32a1e290961755e7b2379f59faa49b13d03dfef6.patch
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros-extra