Delete -p option in %postun of sub package libstdc++ and libgomp

This commit is contained in:
chengzihan2 2020-05-28 21:29:33 +08:00
parent e810473b9c
commit dd558464f3

View File

@ -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 <chengzihan2@huawei.com> - 7.3.0-20190804.33
- Delete -p option in %postun of sub package libstdc++ and libgomp.
* Fri May 22 2020 maqiang999 <maqiang42@huawei.com> - 7.3.0-20190804.32
- Type:enhancement
- ID:NA