Browse Source

readline-8.1.1-1

Tomohiro "Tomo-p" KATO 3 years ago
parent
commit
7d471f5d46
1 changed files with 11 additions and 11 deletions
  1. 11 11
      r/readline/readline-vl.spec

+ 11 - 11
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
+Version: 8.1.1
 %global shortver %(echo %{version} | cut -d . -f 1-2)
 %global shortver_nodots %(echo %{shortver} | tr -d ".")
 Release: 1%{?_dist_release}
@@ -15,7 +15,7 @@ URL: http://tiswww.tis.case.edu/~chet/readline/rltop.html
 Source: %{baseurl}/readline-%{shortver}.tar.gz
 
 # upstream patches
-#Patch1: %{baseurl}/readline-%{shortver}-patches/readline%{shortver_nodots}-001
+Patch1: %{baseurl}/readline-%{shortver}-patches/readline%{shortver_nodots}-001
 
 # fix file permissions, remove RPATH, use CFLAGS
 Patch100: readline-8.0-shlib.patch
@@ -23,9 +23,8 @@ Patch100: readline-8.0-shlib.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: sed
 BuildRequires: ncurses-devel
-Requires(post): /sbin/install-info, /sbin/ldconfig
+Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
-Requires(postun): /sbin/ldconfig
 
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 
@@ -97,12 +96,12 @@ installed. You also need to have the readline package installed.
 
 %prep
 %setup -q -n %{name}-%{shortver}
-
 # upstream patches
-#patch1 -p0 -b .001
+%patch1 -p0 -b .001
 
 %patch100 -p1 -b .shlib
 
+
 %build
 %configure --with-curses --disable-install-examples
 make %{?_smp_mflags}
@@ -125,19 +124,16 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/readline
 rm -rf $RPM_BUILD_ROOT%{_datadir}/readline
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
+
 %clean
 [ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
 
+
 %post
-/sbin/ldconfig
 /sbin/install-info %{_infodir}/history.info.gz %{_infodir}/dir &> /dev/null
 /sbin/install-info %{_infodir}/rluserman.info.gz %{_infodir}/dir &> /dev/null
 :
 
-%postun -p /sbin/ldconfig
-
-%ldconfig_scriptlets -n compat32-%{name}
-
 %preun
 if [ $1 = 0 ]; then
    /sbin/install-info --delete %{_infodir}/history.info.gz %{_infodir}/dir &> /dev/null
@@ -190,6 +186,10 @@ fi
 
 
 %changelog
+* Fri May 07 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.1.1-1
+- updated to patchlevel 001.
+- dropped ldconfig scriptlets.
+
 * Thu Feb 25 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.1-1
 - new upstream release.
 - dropped Patch1-4.