diff --git a/ncurses.changes b/ncurses.changes index 6f78c71..239bed2 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 10 16:10:48 UTC 2018 - schwab@suse.de + +- Use -rpath-link when building the test suite to use the just built + libraries + ------------------------------------------------------------------- Mon Oct 8 07:05:41 UTC 2018 - Dr. Werner Fink diff --git a/ncurses.spec b/ncurses.spec index 857e003..eb9bf71 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -59,9 +59,9 @@ Obsoletes: ncurses-64bit Version: 6.1 Release: 0 Summary: Terminal control library -#Git: http://ncurses.scripts.mit.edu License: MIT Group: System/Base +#Git: http://ncurses.scripts.mit.edu Url: http://www.invisible-island.net/ncurses/ncurses.html Source0: ftp://ftp.invisible-island.net/ncurses/ncurses-6.1.tar.gz Source1: ncurses-6.1-patches.tar.bz2 @@ -571,7 +571,7 @@ mv tack-* tack # Make the test suite for ncursesw6 # pushd test - CFLAGS="$CFLAGS -I%{root}%{_incdir}" LDFLAGS="$LDFLAGS -L%{root}%{_libdir}" \ + CFLAGS="$CFLAGS -I%{root}%{_incdir}" LDFLAGS="$LDFLAGS -Wl,-rpath-link=%{root}%{_libdir} -L%{root}%{_libdir}" \ ./configure --with-ncursesw --enable-widec --prefix=$PWD LD_LIBRARY_PATH=%{root}%{_libdir} \ make %{?_smp_mflags} TEST_ARGS='-lformw -lmenuw -lpanelw -lncursesw -lticw -l%{soname_tinfo} -Wl,--as-needed' @@ -698,7 +698,7 @@ mv tack-* tack # Make the test suite for ncurses6 # pushd test - CFLAGS="$CFLAGS -I%{root}%{_incdir}" LDFLAGS="$LDFLAGS -L%{root}%{_libdir}" \ + CFLAGS="$CFLAGS -I%{root}%{_incdir}" LDFLAGS="$LDFLAGS -Wl,-rpath-link=%{root}%{_libdir} -L%{root}%{_libdir}" \ ./configure --with-ncurses --disable-widec --prefix=$PWD LD_LIBRARY_PATH=%{root}%{_libdir} \ make %{?_smp_mflags} TEST_ARGS='-lform -lmenu -lpanel -lncurses -ltic -ltinfo -Wl,--as-needed'