From 1580c8aee68ae698cf213cb5250a4a3ddf8bfc7c6f8b048a56da33f5e3278d3e Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 8 Mar 2018 10:07:53 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=365 --- ncurses.changes | 6 ++++++ ncurses.spec | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ncurses.changes b/ncurses.changes index 69d4f5e..2297502 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -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 diff --git a/ncurses.spec b/ncurses.spec index 1c9430b..0ba6778 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -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