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)
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 <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
- automatic version update by autodist