rebuilt with ncurses [release 8.0.004-2mamba;Fri Oct 23 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:34:03 +01:00
parent 15883671a0
commit af68584aa5

View File

@ -2,7 +2,7 @@
%define minver %(echo %version | cut -d. -f3) %define minver %(echo %version | cut -d. -f3)
Name: libreadline Name: libreadline
Version: 8.0.004 Version: 8.0.004
Release: 1mamba Release: 2mamba
Summary: Lets users edit command lines as they are typed in Summary: Lets users edit command lines as they are typed in
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -16,6 +16,8 @@ Patch1: libreadline-%{version}-patchset.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libncurses-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires(post):%{__install_info} Requires(post):%{__install_info}
Requires(preun): %{__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} %setup -q -n readline-%{majver}
%patch1 -p0 %patch1 -p0
# remove RPATH from shared objects (FS#14366)
sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf
%build %build
%configure %configure --with-curses --disable-install-examples
%make %make SHLIB_LIBS=-lncurses
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
# fixup strange shared library permissions ## fixup strange shared library permissions
chmod 755 %{buildroot}%{_libdir}/*.so* #chmod 755 %{buildroot}%{_libdir}/*.so*
# remove unpackaged files ## remove unpackaged files
rm -fr %{buildroot}%{_datadir}/readline #rm -fr %{buildroot}%{_datadir}/readline
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -113,6 +118,9 @@ exit 0
%{_libdir}/lib*.a %{_libdir}/lib*.a
%changelog %changelog
* Fri Oct 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.0.004-2mamba
- rebuilt with ncurses
* Sun Mar 29 2020 Automatic Build System <autodist@mambasoft.it> 8.0.004-1mamba * Sun Mar 29 2020 Automatic Build System <autodist@mambasoft.it> 8.0.004-1mamba
- automatic version update by autodist - automatic version update by autodist