X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=package%2Fncurses.spec;h=91b3c1f84bcb0baf11edd778cf49210610a7298f;hp=c8a4aff717c75cfaa1bbc82c64f85eea21c5b435;hb=efa78d11c3ea7f51c7078b64a34c98b44ecb0e1a;hpb=30393be892025f03322b7907a04cc05cc08e8760 diff --git a/package/ncurses.spec b/package/ncurses.spec index c8a4aff7..91b3c1f8 100644 --- a/package/ncurses.spec +++ b/package/ncurses.spec @@ -1,7 +1,7 @@ Summary: shared libraries for terminal handling Name: ncurses6 Version: 6.1 -Release: 20180901 +Release: 20190824 License: X11 Group: Development/Libraries Source: ncurses-%{version}-%{release}.tgz @@ -44,10 +44,16 @@ This package is used for testing ABI %{MY_ABI}. %define _disable_ld_build_id 1 %endif +%if %{is_redhat} +# workaround for toolset breakage in Fedora 28 +%define _test_relink --enable-relink +%else +%define _test_relink --disable-relink +%endif + %setup -q -n ncurses-%{version}-%{release} %build -%define my_srcdir .. %define CFG_OPTS \\\ --target %{_target_platform} \\\ --prefix=%{_prefix} \\\ @@ -60,7 +66,7 @@ This package is used for testing ABI %{MY_ABI}. --disable-leaks \\\ --disable-macros \\\ --disable-overwrite \\\ - --disable-relink \\\ + %{_test_relink} \\\ --disable-termcap \\\ --enable-hard-tabs \\\ --enable-opaque-curses \\\ @@ -97,6 +103,7 @@ This package is used for testing ABI %{MY_ABI}. CFLAGS="%{CC_NORMAL}" \ RPATH_LIST=../lib:%{_libdir} \ %configure %{CFG_OPTS} + make %install