!94 sysboost no longer needs relocation,so remove it
From: @yangl777 Reviewed-by: @yanan-rock Signed-off-by: @yanan-rock
This commit is contained in:
commit
2752b605a6
39
ncurses.spec
39
ncurses.spec
@ -1,12 +1,6 @@
|
|||||||
%global ENABLE_RELOC 1
|
|
||||||
|
|
||||||
%if %{ENABLE_RELOC}
|
|
||||||
%global ldflags_options -Wl,--emit-relocs
|
|
||||||
%endif
|
|
||||||
|
|
||||||
name: ncurses
|
name: ncurses
|
||||||
Version: 6.4
|
Version: 6.4
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: Terminal control library
|
Summary: Terminal control library
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://invisible-island.net/ncurses/ncurses.html
|
URL: https://invisible-island.net/ncurses/ncurses.html
|
||||||
@ -98,16 +92,6 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
This package contains development documentation, manuals
|
This package contains development documentation, manuals
|
||||||
for interface function, and related documents.
|
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
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
@ -144,7 +128,7 @@ for abi in 5 6; do
|
|||||||
[ $abi = 5 ] && echo $abi5_options
|
[ $abi = 5 ] && echo $abi5_options
|
||||||
[ $char = widec ] && echo --enable-widec
|
[ $char = widec ] && echo --enable-widec
|
||||||
[ $progs = yes ] || echo --without-progs
|
[ $progs = yes ] || echo --without-progs
|
||||||
) LDFLAGS="%{?ldflags_options}"
|
)
|
||||||
|
|
||||||
%make_build libs
|
%make_build libs
|
||||||
[ $progs = yes ] && %make_build -C progs
|
[ $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
|
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=
|
baseterms=
|
||||||
|
|
||||||
# prepare -base and -term file lists
|
# prepare -base and -term file lists
|
||||||
@ -271,14 +249,13 @@ xz NEWS
|
|||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
%{_mandir}/man7/*
|
%{_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
|
%changelog
|
||||||
|
* Wed Feb 28 2024 yanglu <yanglu72@h-partners.com> - 6.4-8
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:sysboost no longer needs relocation,so remove it
|
||||||
|
|
||||||
* Tue Jan 30 2024 yanglu <yanglu72@h-partners.com> - 6.4-7
|
* Tue Jan 30 2024 yanglu <yanglu72@h-partners.com> - 6.4-7
|
||||||
- Type:CVE
|
- Type:CVE
|
||||||
- CVE:CVE-2023-45918
|
- CVE:CVE-2023-45918
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user