SHA256
3
0
forked from pool/ncurses
Dr. Werner Fink 2018-03-08 10:07:53 +00:00 committed by Git OBS Bridge
parent 31a9b31556
commit 1580c8aee6
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 8 10:06:24 UTC 2018 - werner@suse.de
- Avoid opaque libraries for Leap 15 and SLES 15
- No tests on Leap 15 and SLES 15
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 5 07:48:43 UTC 2018 - werner@suse.de Mon Mar 5 07:48:43 UTC 2018 - werner@suse.de

View File

@ -433,10 +433,12 @@ mv tack-* tack
--enable-interop \ --enable-interop \
--with-pthread \ --with-pthread \
--enable-reentrant \ --enable-reentrant \
%if 0%{?suse_version} > 1500
--enable-opaque-curses \ --enable-opaque-curses \
--enable-opaque-form \ --enable-opaque-form \
--enable-opaque-menu \ --enable-opaque-menu \
--enable-opaque-panel \ --enable-opaque-panel \
%endif
--enable-ext-mouse \ --enable-ext-mouse \
--enable-widec \ --enable-widec \
--with-termlib=%{soname_tinfo} \ --with-termlib=%{soname_tinfo} \
@ -561,6 +563,7 @@ mv tack-* tack
ldd ./tack ldd ./tack
popd popd
unset LD_LIBRARY_PATH unset LD_LIBRARY_PATH
%if 0%{?suse_version} > 1500
# #
# Make the test suite for ncursesw6 # Make the test suite for ncursesw6
# #
@ -573,6 +576,7 @@ mv tack-* tack
mv bin binw mv bin binw
make distclean make distclean
popd popd
%endif
%endif %endif
test ! -L tack || rm -f tack test ! -L tack || rm -f tack
make clean make clean
@ -684,7 +688,7 @@ mv tack-* tack
# #
# Some tests # Some tests
# #
%if 0%{?qemu_user_space_build:1}%{?_crossbuild} %if 0%{?qemu_user_space_build:1}%{?_crossbuild} || 0%{?suse_version} <= 1500
echo "Skipping tests due to running under QEMU / cross-building" echo "Skipping tests due to running under QEMU / cross-building"
%else %else
# #
@ -985,6 +989,7 @@ export LD_LIBRARY_PATH
%if %{with onlytinfo} %if %{with onlytinfo}
nm -D %{buildroot}/%{_lib}/libtinfo.so.%{version} | grep -q _nc_read_entry2 nm -D %{buildroot}/%{_lib}/libtinfo.so.%{version} | grep -q _nc_read_entry2
%endif %endif
%if 0%{?suse_version} > 1500
pushd test pushd test
expect -d <<-'EOF' expect -d <<-'EOF'
set env(TERM) xterm set env(TERM) xterm
@ -1014,6 +1019,7 @@ pushd test
EOF EOF
popd popd
%endif %endif
%endif
%post -n libncurses5 -p /sbin/ldconfig %post -n libncurses5 -p /sbin/ldconfig