SHA256
1
0
forked from pool/ncurses

Accepting request 589658 from Base:System

- Change baselibs.conf to avoid mixed version requirements (bsc#1082744)

- Add ncurses patch 6.1-20180317
  + fix a check in infotocap which may not have detected a problem when
    it should have.
  + add a check in tic for the case where setf/setb are given using
    different strings, but provide identical results to setaf/setab.
  + further improve fix for terminfo.5 (patch by Kir Kolyshkin).
  + reorder loop-limit checks in winsnstr() in case the string has no
    terminating null and only the number of characters is used (patch
    by Gyorgy Jeney).

- Avoid opaque libraries for Leap 15 and SLES 15 
- No tests on Leap 15 and SLES 15

OBS-URL: https://build.opensuse.org/request/show/589658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ncurses?expand=0&rev=144
This commit is contained in:
Dominique Leuenberger 2018-03-30 09:54:47 +00:00 committed by Git OBS Bridge
commit 05623673a8
4 changed files with 37 additions and 5 deletions

View File

@ -4,8 +4,10 @@ libncurses5
obsoletes "ncurses-<targettype> <= <version>" obsoletes "ncurses-<targettype> <= <version>"
libncurses6 libncurses6
targettype x86 provides "baselibs-x86:<prefix>/lib/libncurses.so.6" targettype x86 provides "baselibs-x86:<prefix>/lib/libncurses.so.6"
provides "libncurses6-<targettype> = 6.0" provides "libncurses6-<targettype> = <version>"
ncurses-devel ncurses-devel
requires -ncurses-<targettype>
requires "libncurses6-<targettype> = <version>"
ncurses5-devel
requires -ncurses-<targettype> requires -ncurses-<targettype>
requires "libncurses5-<targettype> = <version>" requires "libncurses5-<targettype> = <version>"
requires "libncurses6-<targettype> = 6.0"

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:0a949e2d78dc242d1ada722ff3b37b1f16b032d9c1525576c20b2f939dd0911b oid sha256:539c0f5d4f44cc85c8ff148facc500a3f7553fc07e6d3c266fa8e9e00a9751f5
size 91010 size 92912

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Wed Mar 21 07:46:36 UTC 2018 - werner@suse.de
- Change baselibs.conf to avoid mixed version requirements (bsc#1082744)
-------------------------------------------------------------------
Mon Mar 19 09:23:35 UTC 2018 - werner@suse.de
- Add ncurses patch 6.1-20180317
+ fix a check in infotocap which may not have detected a problem when
it should have.
+ add a check in tic for the case where setf/setb are given using
different strings, but provide identical results to setaf/setab.
+ further improve fix for terminfo.5 (patch by Kir Kolyshkin).
+ reorder loop-limit checks in winsnstr() in case the string has no
terminating null and only the number of characters is used (patch
by Gyorgy Jeney).
-------------------------------------------------------------------
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