From f4dc7ec415cdf1845d3c69ef0f475c873594a072 Mon Sep 17 00:00:00 2001 From: yangl777 Date: Wed, 28 Feb 2024 09:00:51 +0000 Subject: [PATCH] sysboost no longer needs relocation,so remove it --- ncurses.spec | 39 ++++++++------------------------------- 1 file changed, 8 insertions(+), 31 deletions(-) diff --git a/ncurses.spec b/ncurses.spec index e814ada..d39ab29 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -1,12 +1,6 @@ -%global ENABLE_RELOC 1 - -%if %{ENABLE_RELOC} -%global ldflags_options -Wl,--emit-relocs -%endif - name: ncurses Version: 6.4 -Release: 7 +Release: 8 Summary: Terminal control library License: MIT URL: https://invisible-island.net/ncurses/ncurses.html @@ -98,16 +92,6 @@ Requires: %{name} = %{version}-%{release} This package contains development documentation, manuals for interface function, and related documents. -%if %{?ENABLE_RELOC} -%package relocation -Summary: Relocation for %{name} -Requires: %{name} = %{version}-%{release} -BuildRequires: native-turbo-tools - -%description relocation -This package contains relocations file for %{name}. -%endif - %prep %autosetup -n %{name}-%{version} -p1 @@ -144,7 +128,7 @@ for abi in 5 6; do [ $abi = 5 ] && echo $abi5_options [ $char = widec ] && echo --enable-widec [ $progs = yes ] || echo --without-progs - ) LDFLAGS="%{?ldflags_options}" + ) %make_build libs [ $progs = yes ] && %make_build -C progs @@ -166,12 +150,6 @@ chmod 644 ${RPM_BUILD_ROOT}%{_libdir}/lib*.a mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/terminfo -%if %{?ENABLE_RELOC} -objreloc widec6/lib/libtinfo.so.%{version} -mkdir -p ${RPM_BUILD_ROOT}/usr/lib/relocation/%{_libdir} -mv -f widec6/lib/libtinfo.so.%{version}.relocation ${RPM_BUILD_ROOT}/usr/lib/relocation/%{_libdir}/libtinfo.so.%{version}.relocation -%endif - baseterms= # prepare -base and -term file lists @@ -271,14 +249,13 @@ xz NEWS %{_mandir}/man5/* %{_mandir}/man7/* -%if %{?ENABLE_RELOC} -%files relocation -%dir %attr(500, root, root) /usr/lib/relocation -%dir %attr(500, root, root) /usr/lib/relocation/%{_libdir} -%attr(400, root, root) /usr/lib/relocation/%{_libdir}/libtinfo.so.%{version}.relocation -%endif - %changelog +* Wed Feb 28 2024 yanglu - 6.4-8 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:sysboost no longer needs relocation,so remove it + * Tue Jan 30 2024 yanglu - 6.4-7 - Type:CVE - CVE:CVE-2023-45918 -- Gitee