Hello community,

here is the log from the commit of package ghc-shelly for openSUSE:Factory 
checked in at 2015-09-17 09:19:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-shelly (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-shelly.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-shelly"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-shelly/ghc-shelly.changes    2015-09-08 
17:48:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-shelly.new/ghc-shelly.changes       
2015-09-17 09:19:34.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Sep 13 12:56:37 UTC 2015 - [email protected]
+
+- update to 1.6.3.4
+
+-------------------------------------------------------------------

Old:
----
  shelly-1.6.3.3.tar.gz

New:
----
  shelly-1.6.3.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-shelly.spec ++++++
--- /var/tmp/diff_new_pack.a5sfEG/_old  2015-09-17 09:19:34.000000000 +0200
+++ /var/tmp/diff_new_pack.a5sfEG/_new  2015-09-17 09:19:34.000000000 +0200
@@ -15,17 +15,18 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %global pkg_name shelly
 
 %bcond_with tests
 
 Name:           ghc-shelly
-Version:        1.6.3.3
+Version:        1.6.3.4
 Release:        0
 Summary:        Shell-like (systems) programming in Haskell
+License:        BSD-3-Clause
 Group:          System/Libraries
 
-License:        BSD-3-Clause
 Url:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -114,7 +115,6 @@
 %defattr(-,root,root,-)
 %doc LICENSE
 
-
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
 %doc README.md

++++++ shelly-1.6.3.3.tar.gz -> shelly-1.6.3.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/shelly-1.6.3.3/shelly.cabal 
new/shelly-1.6.3.4/shelly.cabal
--- old/shelly-1.6.3.3/shelly.cabal     2015-07-30 18:18:17.000000000 +0200
+++ new/shelly-1.6.3.4/shelly.cabal     2015-09-10 04:06:19.000000000 +0200
@@ -1,6 +1,6 @@
 Name:       shelly
 
-Version:     1.6.3.3
+Version:     1.6.3.4
 Synopsis:    shell-like (systems) programming in Haskell
 
 Description: Shelly provides convenient systems programming in Haskell,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/shelly-1.6.3.3/src/Shelly.hs 
new/shelly-1.6.3.4/src/Shelly.hs
--- old/shelly-1.6.3.3/src/Shelly.hs    2015-07-30 18:16:41.000000000 +0200
+++ new/shelly-1.6.3.4/src/Shelly.hs    2015-09-10 04:01:48.000000000 +0200
@@ -1077,7 +1077,11 @@
 
 bashArgs :: FilePath -> [Text] -> [Text]
 bashArgs fp args =
-  ["-c", "'set -o pipefail; " <> sanitise (toTextIgnore fp : args) <> "'"]
+  -- trapping PIPE is needed to avoid random failures from setting pipefail
+  --
+  -- https://github.com/yesodweb/Shelly.hs/issues/106
+  -- 
http://stackoverflow.com/questions/22464786/ignoring-bash-pipefail-for-error-code-141
+  ["-c", "'set -o pipefail; trap '' PIPE; " <> sanitise (toTextIgnore fp : 
args) <> "'"]
   where
     sanitise = T.replace "'" "\'" . T.intercalate " "
 


Reply via email to