|
@@ -1,7 +1,7 @@
|
|
Summary: A library for editing typed in command lines.
|
|
Summary: A library for editing typed in command lines.
|
|
Summary(ja): Readline ライブラリ
|
|
Summary(ja): Readline ライブラリ
|
|
Name: readline
|
|
Name: readline
|
|
-Version: 8.1.2
|
|
+Version: 8.2.1
|
|
%global shortver %(echo %{version} | cut -d . -f 1-2)
|
|
%global shortver %(echo %{version} | cut -d . -f 1-2)
|
|
%global shortver_nodots %(echo %{shortver} | tr -d ".")
|
|
%global shortver_nodots %(echo %{shortver} | tr -d ".")
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
@@ -16,7 +16,6 @@ Source: %{baseurl}/readline-%{shortver}.tar.gz
|
|
|
|
|
|
# upstream patches
|
|
# upstream patches
|
|
Patch1: %{baseurl}/readline-%{shortver}-patches/readline%{shortver_nodots}-001
|
|
Patch1: %{baseurl}/readline-%{shortver}-patches/readline%{shortver_nodots}-001
|
|
-Patch2: %{baseurl}/readline-%{shortver}-patches/readline%{shortver_nodots}-002
|
|
|
|
|
|
|
|
# fix file permissions, remove RPATH, use CFLAGS
|
|
# fix file permissions, remove RPATH, use CFLAGS
|
|
Patch100: readline-8.0-shlib.patch
|
|
Patch100: readline-8.0-shlib.patch
|
|
@@ -60,7 +59,7 @@ installed. You also need to have the readline package installed.
|
|
%package -n compat32-%{name}
|
|
%package -n compat32-%{name}
|
|
Summary: A library for editing typed in command lines.
|
|
Summary: A library for editing typed in command lines.
|
|
Summary(ja): Readline ライブラリ
|
|
Summary(ja): Readline ライブラリ
|
|
-Group: system
|
|
+Group: system,legacy
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
%description -n compat32-%{name}
|
|
@@ -80,7 +79,7 @@ Emacs と vi の編集モードが利用可能です。Readline ライブラリ
|
|
%package -n compat32-%{name}-devel
|
|
%package -n compat32-%{name}-devel
|
|
Summary: Files needed to develop programs which use the readline library.
|
|
Summary: Files needed to develop programs which use the readline library.
|
|
Summary(ja): Readline ライブラリを使うプログラムための開発用ライブラリ
|
|
Summary(ja): Readline ライブラリを使うプログラムための開発用ライブラリ
|
|
-Group: programming
|
|
+Group: programming,legacy
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
Requires: compat32-ncurses-devel
|
|
Requires: compat32-ncurses-devel
|
|
@@ -97,11 +96,8 @@ installed. You also need to have the readline package installed.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n %{name}-%{shortver}
|
|
%setup -q -n %{name}-%{shortver}
|
|
-# upstream patches
|
|
+%autopatch -p0 -m0 -M99
|
|
-%patch1 -p0 -b .001
|
|
+%autopatch -p1 -m100
|
|
-%patch2 -p0 -b .002
|
|
|
|
-
|
|
|
|
-%patch100 -p1 -b .shlib
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
@@ -131,29 +127,6 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
[ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
|
|
[ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
|
-%post
|
|
|
|
-/sbin/install-info %{_infodir}/history.info.gz %{_infodir}/dir &> /dev/null
|
|
|
|
-/sbin/install-info %{_infodir}/rluserman.info.gz %{_infodir}/dir &> /dev/null
|
|
|
|
-:
|
|
|
|
-
|
|
|
|
-%preun
|
|
|
|
-if [ $1 = 0 ]; then
|
|
|
|
- /sbin/install-info --delete %{_infodir}/history.info.gz %{_infodir}/dir &> /dev/null
|
|
|
|
- /sbin/install-info --delete %{_infodir}/rluserman.info.gz %{_infodir}/dir &> /dev/null
|
|
|
|
-fi
|
|
|
|
-:
|
|
|
|
-
|
|
|
|
-%post devel
|
|
|
|
-/sbin/install-info %{_infodir}/readline.info.gz %{_infodir}/dir &> /dev/null
|
|
|
|
-:
|
|
|
|
-
|
|
|
|
-%preun devel
|
|
|
|
-if [ $1 = 0 ]; then
|
|
|
|
- /sbin/install-info --delete %{_infodir}/readline.info.gz %{_infodir}/dir &> /dev/null
|
|
|
|
-fi
|
|
|
|
-:
|
|
|
|
-
|
|
|
|
-
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%license COPYING
|
|
%license COPYING
|
|
@@ -188,6 +161,10 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Nov 06 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.1-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- updated to patchlevel 001.
|
|
|
|
+
|
|
* Fri Jan 14 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.1.2-1
|
|
* Fri Jan 14 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.1.2-1
|
|
- updated to patchlevel 002.
|
|
- updated to patchlevel 002.
|
|
|
|
|