From dd558464f3b3e73d03c4a9d55e057efdad9450d0 Mon Sep 17 00:00:00 2001 From: chengzihan2 Date: Thu, 28 May 2020 21:29:33 +0800 Subject: [PATCH] Delete -p option in %postun of sub package libstdc++ and libgomp --- gcc.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc.spec b/gcc.spec index 091ecfd..b908a31 100644 --- a/gcc.spec +++ b/gcc.spec @@ -36,7 +36,7 @@ Summary: Various compilers (C, C++, Objective-C, Java, ...) Name: gcc Version: 7.3.0 -Release: %{gcc_release}.32 +Release: %{gcc_release}.33 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD Group: Development/Languages #Source0: hcc-aarch64-linux-release.tar.bz2 @@ -1798,9 +1798,11 @@ fi # end #end -%post -n libstdc++ -p /sbin/ldconfig +%post -n libstdc++ +/sbin/ldconfig -%postun -n libstdc++ -p /sbin/ldconfig +%postun -n libstdc++ +/sbin/ldconfig #%post -n libobjc -p /sbin/ldconfig @@ -1846,7 +1848,8 @@ if [ $1 = 0 -a -f %{_infodir}/libgomp.info.gz ]; then --info-dir=%{_infodir} %{_infodir}/libgomp.info.gz || : fi -%postun -n libgomp -p /sbin/ldconfig +%postun -n libgomp +/sbin/ldconfig #%post -n libmudflap -p /sbin/ldconfig @@ -3137,6 +3140,9 @@ fi %changelog +* Thu May 28 2020 chengzihan - 7.3.0-20190804.33 +- Delete -p option in %postun of sub package libstdc++ and libgomp. + * Fri May 22 2020 maqiang999 - 7.3.0-20190804.32 - Type:enhancement - ID:NA -- Gitee