From e3a78d20c9b8e60087522e235b181644bc05eb0c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 5 Jul 2017 14:31:31 +0900 Subject: [PATCH] protect install-info in the rpm scriptlets (#1467299) --- libffi.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libffi.spec b/libffi.spec index 92731ed..425d356 100644 --- a/libffi.spec +++ b/libffi.spec @@ -2,7 +2,7 @@ Name: libffi Version: 3.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A portable foreign function interface library Group: System Environment/Libraries @@ -100,11 +100,11 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/libffi-%{version} %post -p /sbin/ldconfig %post devel -/sbin/install-info --info-dir=%{_infodir} %{_infodir}/libffi.info.gz +/sbin/install-info --info-dir=%{_infodir} %{_infodir}/libffi.info.gz || : %preun devel if [ $1 = 0 ] ;then - /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libffi.info.gz + /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libffi.info.gz || : fi %postun -p /sbin/ldconfig @@ -124,6 +124,10 @@ fi %{_infodir}/libffi.info.gz %changelog +* Wed Jul 5 2017 Jens Petersen - 3.1-12 +- protect install-info in the rpm scriptlets + https://fedoraproject.org/wiki/Packaging:Scriptlets#Texinfo + * Tue Jun 20 2017 Anthony Green - 3.1-11 - fix exec stack problem on aarch64 build