forked from pool/ncurses
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=365
This commit is contained in:
parent
31a9b31556
commit
1580c8aee6
@ -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
|
||||
|
||||
|
@ -433,10 +433,12 @@ mv tack-* tack
|
||||
--enable-interop \
|
||||
--with-pthread \
|
||||
--enable-reentrant \
|
||||
%if 0%{?suse_version} > 1500
|
||||
--enable-opaque-curses \
|
||||
--enable-opaque-form \
|
||||
--enable-opaque-menu \
|
||||
--enable-opaque-panel \
|
||||
%endif
|
||||
--enable-ext-mouse \
|
||||
--enable-widec \
|
||||
--with-termlib=%{soname_tinfo} \
|
||||
@ -561,6 +563,7 @@ mv tack-* tack
|
||||
ldd ./tack
|
||||
popd
|
||||
unset LD_LIBRARY_PATH
|
||||
%if 0%{?suse_version} > 1500
|
||||
#
|
||||
# Make the test suite for ncursesw6
|
||||
#
|
||||
@ -573,6 +576,7 @@ mv tack-* tack
|
||||
mv bin binw
|
||||
make distclean
|
||||
popd
|
||||
%endif
|
||||
%endif
|
||||
test ! -L tack || rm -f tack
|
||||
make clean
|
||||
@ -684,7 +688,7 @@ mv tack-* tack
|
||||
#
|
||||
# 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"
|
||||
%else
|
||||
#
|
||||
@ -985,6 +989,7 @@ export LD_LIBRARY_PATH
|
||||
%if %{with onlytinfo}
|
||||
nm -D %{buildroot}/%{_lib}/libtinfo.so.%{version} | grep -q _nc_read_entry2
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1500
|
||||
pushd test
|
||||
expect -d <<-'EOF'
|
||||
set env(TERM) xterm
|
||||
@ -1014,6 +1019,7 @@ pushd test
|
||||
EOF
|
||||
popd
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%post -n libncurses5 -p /sbin/ldconfig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user