From af68584aa5801d5d2fbe5c095f9f32bb1ec4f780 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:34:03 +0100 Subject: [PATCH] rebuilt with ncurses [release 8.0.004-2mamba;Fri Oct 23 2020] --- libreadline.spec | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/libreadline.spec b/libreadline.spec index ed2bf3e..eb82086 100644 --- a/libreadline.spec +++ b/libreadline.spec @@ -2,7 +2,7 @@ %define minver %(echo %version | cut -d. -f3) Name: libreadline Version: 8.0.004 -Release: 1mamba +Release: 2mamba Summary: Lets users edit command lines as they are typed in Group: System/Libraries Vendor: openmamba @@ -16,6 +16,8 @@ Patch1: libreadline-%{version}-patchset.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libncurses-devel ## AUTOBUILDREQ-END Requires(post):%{__install_info} Requires(preun): %{__install_info} @@ -48,19 +50,22 @@ The %{name}-static package contains the static version of the readline library. %setup -q -n readline-%{majver} %patch1 -p0 +# remove RPATH from shared objects (FS#14366) +sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf + %build -%configure -%make +%configure --with-curses --disable-install-examples +%make SHLIB_LIBS=-lncurses %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -# fixup strange shared library permissions -chmod 755 %{buildroot}%{_libdir}/*.so* +## fixup strange shared library permissions +#chmod 755 %{buildroot}%{_libdir}/*.so* -# remove unpackaged files -rm -fr %{buildroot}%{_datadir}/readline +## remove unpackaged files +#rm -fr %{buildroot}%{_datadir}/readline %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -113,6 +118,9 @@ exit 0 %{_libdir}/lib*.a %changelog +* Fri Oct 23 2020 Silvan Calarco 8.0.004-2mamba +- rebuilt with ncurses + * Sun Mar 29 2020 Automatic Build System 8.0.004-1mamba - automatic version update by autodist