diff --git a/readline-8.0-shlib.patch b/readline-8.0-shlib.patch index 1e29fd6ea90b8db2374f61aaf9b2917147d75a46..9f538149b215b27896f6729b4801913f39249b56 100644 --- a/readline-8.0-shlib.patch +++ b/readline-8.0-shlib.patch @@ -1,14 +1,16 @@ -From 3c0b10478d91274e761a50c5958b6a3645a4e8ee Mon Sep 17 00:00:00 2001 -From: Jan Chaloupka -Date: Mon, 21 Jul 2014 13:50:01 +0200 -Subject: [PATCH] shlib - ---- - support/shobj-conf | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - +diff --git a/shlib/Makefile.in b/shlib/Makefile.in +--- a/shlib/Makefile.in ++++ b/shlib/Makefile.in +@@ -178,7 +178,7 @@ $(SHARED_READLINE): $(SHARED_OBJ) + + $(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.so xfree.so + $(RM) $@ +- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so xfree.so $(SHLIB_LIBS) ++ $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so xfree.so + + # Since tilde.c is shared between readline and bash, make sure we compile + # it with the right flags when it's built as part of readline diff --git a/support/shobj-conf b/support/shobj-conf -index cd7634d..b9df437 100644 --- a/support/shobj-conf +++ b/support/shobj-conf @@ -126,10 +126,11 @@ sunos5*|solaris2*) @@ -25,6 +27,3 @@ index cd7634d..b9df437 100644 ;; # Darwin/MacOS X --- -2.33.0 - diff --git a/readline-8.2.tar.gz b/readline-8.2.13.tar.gz similarity index 30% rename from readline-8.2.tar.gz rename to readline-8.2.13.tar.gz index 84060017cef885fd9eabc45b32afdfa65e2f94f6..aee02c1044c5722c142a634d12eb18912e4811a8 100644 Binary files a/readline-8.2.tar.gz and b/readline-8.2.13.tar.gz differ diff --git a/readline.spec b/readline.spec index 682e60d32cd3893bf62797aa66479a086e52bc7e..9062cd4416386e3aee07004e05982f2a43f8cdfc 100644 --- a/readline.spec +++ b/readline.spec @@ -1,11 +1,11 @@ Name: readline -Version: 8.2 -Release: 2 +Version: 8.2.13 +Release: 1 Summary: Readline library for editing typed command lines -License: GPLv3+ -URL: http://tiswww.case.edu/php/chet/readline/rltop.html -Source0: http://git.savannah.gnu.org/cgit/readline.git/snapshot/%{name}-%{version}.tar.gz +License: GPL-3.0-or-later +URL: https://tiswww.case.edu/php/chet/readline/rltop.html +Source0: https://ftp.gnu.org/gnu/readline/%{name}-%{version}.tar.gz Patch0: readline-8.0-shlib.patch @@ -20,11 +20,10 @@ previously-entered command lines, to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands. %package devel -Summary: Development Header files for readline library +Summary: Development Header files for readline library Requires: %{name} = %{version}-%{release} -Requires: ncurses-devel -Provides: %{name}-static -Obsoletes: %{name}-static +Provides: %{name}-static = %{version}-%{release} +Obsoletes: %{name}-static < %{version}-%{release} %description devel The GNU Readline library provides a set of functions for use by @@ -34,52 +33,48 @@ typed in. This package contains Development header files for the readline library. -%package help -Summary: Documents for %{name} -Buildarch: noarch -Requires: man info - -%description help -Man pages and other related documents for %{name}. +%package_help %prep %autosetup -n %{name}-%{version} -p1 %build export CPPFLAGS="-I%{_includedir}/ncurses" -%configure --with-curses +%configure --with-curses --disable-install-examples %make_build %install %make_install +%delete_la -%ldconfig_scriptlets +rm -vrf %{buildroot}%{_docdir}/readline +rm -vf %{buildroot}%{_infodir}/dir* %files -%doc %license COPYING USAGE %{_libdir}/libhistory.so.* %{_libdir}/libreadline.so.* %files devel -%{_includedir}/%{name}/*.h +%doc CHANGES NEWS README +%doc examples/*.c examples/*.h examples/rlfe +%{_includedir}/%{name} %{_libdir}/libhistory.so %{_libdir}/libreadline.so %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/history.pc -%{_docdir}/%{name}/* -%{_datadir}/%{name} %{_libdir}/*.a %files help %{_infodir}/history.info* %{_infodir}/rluserman.info* %{_infodir}/readline.info* -%exclude %{_infodir}/dir* -%{_mandir}/man3/*.3.gz - +%{_mandir}/man3/* %changelog +* Sun Aug 04 2024 Funda Wang - 8.2.13-1 +- update to 8.2.13 + * Wed Feb 1 2023 chenziyang - 8.2-2 - upload readline-8.0-shlib.patch to fix undefined symbol problem