From 3e17d4355fb5135dc4370a20167ccc79b8b85eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=83=8A=E5=A5=87=E8=84=86=E7=89=87=E9=A5=BC=E5=B9=B2?= <960055655@qq.com> Date: Tue, 21 Jan 2020 21:24:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!1=20:?= =?UTF-8?q?=20resolve=20"rpm=20-ivh"=20err'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ed.spec | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ed.spec b/ed.spec index 2242ab4..7d90370 100644 --- a/ed.spec +++ b/ed.spec @@ -1,7 +1,7 @@ Summary: A line-oriented text editor Name: ed Version: 1.14.2 -Release: 6 +Release: 5 License: GPLv3+ and GFDL # Note: Upstream provides only lzip compressed tarballs so we repacked from: #Source: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz @@ -40,10 +40,10 @@ Man pages and other related documents. %make_install rm -vrf %{buildroot}%{_infodir}/dir -%post help +%post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : -%preun help +%preun if [ $1 = 0 ] ; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi @@ -60,8 +60,5 @@ fi %{_infodir}/ed.info* %changelog -* Tue Jan 21 2020 openEuler Buildteam - 1.14.2-6 -- resolve "rpm -ivh" err - * Tue Sep 17 2019 openEuler Buildteam - 1.14.2-5 - Package init