Hello community,

here is the log from the commit of package bats for openSUSE:Factory checked in 
at 2017-02-26 17:09:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bats (Old)
 and      /work/SRC/openSUSE:Factory/.bats.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bats"

Changes:
--------
--- /work/SRC/openSUSE:Factory/bats/bats.changes        2015-02-27 
11:00:24.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.bats.new/bats.changes   2017-02-26 
17:09:57.325529539 +0100
@@ -1,0 +2,5 @@
+Sat Feb 25 17:55:47 UTC 2017 - [email protected]
+
+- Added build-term.patch: work-around for bnc#1026350
+
+-------------------------------------------------------------------

New:
----
  build-term.patch

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

Other differences:
------------------
++++++ bats.spec ++++++
--- /var/tmp/diff_new_pack.nZLM1z/_old  2017-02-26 17:09:57.657479160 +0100
+++ /var/tmp/diff_new_pack.nZLM1z/_new  2017-02-26 17:09:57.661478553 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package bats
 #
-# Copyright (c) 2015 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
@@ -25,6 +25,7 @@
 Url:            https://github.com/sstephenson/bats
 Source:         https://github.com/sstephenson/bats/archive/v%{version}.tar.gz
 Patch0:         package-json.patch
+Patch1:         build-term.patch
 BuildRequires:  ncurses-utils
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
@@ -43,6 +44,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 

++++++ build-term.patch ++++++
*** bats-0.4.0/libexec/bats-format-tap-stream   2014-08-13 16:59:22.000000000 
+0200
--- bats-0.4.0-fixed/libexec/bats-format-tap-stream     2017-02-25 
18:46:26.892663697 +0100
***************
*** 21,27 ****
  fi
  
  update_screen_width() {
!   screen_width="$(tput cols)"
    count_column_left=$(( $screen_width - $count_column_width ))
  }
  
--- 21,27 ----
  fi
  
  update_screen_width() {
!   screen_width="$(tput cols 2>/dev/null || echo 80)"
    count_column_left=$(( $screen_width - $count_column_width ))
  }
  

Reply via email to