Browse Source

readline-8.2.1-1

Tomohiro "Tomo-p" KATO 1 year ago
parent
commit
be34a38493
1 changed files with 9 additions and 32 deletions
  1. 9 32
      r/readline/readline-vl.spec

+ 9 - 32
r/readline/readline-vl.spec

@@ -1,7 +1,7 @@
 Summary: A library for editing typed in command lines.
 Summary(ja): Readline ライブラリ
 Name: readline
-Version: 8.1.2
+Version: 8.2.1
 %global shortver %(echo %{version} | cut -d . -f 1-2)
 %global shortver_nodots %(echo %{shortver} | tr -d ".")
 Release: 1%{?_dist_release}
@@ -16,7 +16,6 @@ Source: %{baseurl}/readline-%{shortver}.tar.gz
 
 # upstream patches
 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
 Patch100: readline-8.0-shlib.patch
@@ -60,7 +59,7 @@ installed. You also need to have the readline package installed.
 %package -n compat32-%{name}
 Summary: A library for editing typed in command lines.
 Summary(ja): Readline ライブラリ
-Group: system
+Group: system,legacy
 Requires: %{name} = %{version}-%{release}
 
 %description -n compat32-%{name}
@@ -80,7 +79,7 @@ Emacs と vi の編集モードが利用可能です。Readline ライブラリ
 %package -n compat32-%{name}-devel
 Summary: Files needed to develop programs which use the readline library.
 Summary(ja): Readline ライブラリを使うプログラムための開発用ライブラリ
-Group: programming
+Group: programming,legacy
 Requires: %{name} = %{version}-%{release}
 Requires: %{name}-devel = %{version}-%{release}
 Requires: compat32-ncurses-devel
@@ -97,11 +96,8 @@ installed. You also need to have the readline package installed.
 
 %prep
 %setup -q -n %{name}-%{shortver}
-# upstream patches
-%patch1 -p0 -b .001
-%patch2 -p0 -b .002
-
-%patch100 -p1 -b .shlib
+%autopatch -p0 -m0 -M99
+%autopatch -p1 -m100
 
 
 %build
@@ -131,29 +127,6 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 [ "${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
 %defattr(-,root,root)
 %license COPYING
@@ -188,6 +161,10 @@ fi
 
 
 %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
 - updated to patchlevel 002.