forked from pool/ncurses
Add ncurses patch 6.1-20180303
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=363
This commit is contained in:
10
ncurses.spec
10
ncurses.spec
@@ -74,7 +74,6 @@ Source6: edit.sed
|
||||
Source7: baselibs.conf
|
||||
Patch0: ncurses-6.1.dif
|
||||
Patch1: ncurses-5.9-ibm327x.dif
|
||||
Patch2: ncurses-6.1-weakpthreads.dif
|
||||
Patch4: ncurses-5.7-tack.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%global _miscdir %{_datadir}/misc
|
||||
@@ -260,7 +259,6 @@ rm -fr tack
|
||||
tar -xzf %{S:5}
|
||||
mv tack-* tack
|
||||
%patch1 -p0 -b .327x
|
||||
%patch2 -p0 -b .pth
|
||||
%patch4 -p0 -b .hs
|
||||
%patch0 -p0 -b .p0
|
||||
|
||||
@@ -990,7 +988,7 @@ nm -D %{buildroot}/%{_lib}/libtinfo.so.%{version} | grep -q _nc_read_entry2
|
||||
pushd test
|
||||
expect -d <<-'EOF'
|
||||
set env(TERM) xterm
|
||||
set timeout 10
|
||||
set timeout 20
|
||||
spawn -noecho "binw/newdemo"
|
||||
send -- "x"
|
||||
sleep 5
|
||||
@@ -999,11 +997,11 @@ pushd test
|
||||
send -- "x"
|
||||
sleep 5
|
||||
send -- "q"
|
||||
wait
|
||||
wait -nowait
|
||||
EOF
|
||||
expect -d <<-'EOF'
|
||||
set env(TERM) xterm
|
||||
set timeout 10
|
||||
set timeout 20
|
||||
spawn -noecho "bin/newdemo"
|
||||
send -- "x"
|
||||
sleep 5
|
||||
@@ -1012,7 +1010,7 @@ pushd test
|
||||
send -- "x"
|
||||
sleep 5
|
||||
send -- "q"
|
||||
wait
|
||||
wait -nowait
|
||||
EOF
|
||||
popd
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user