replace ldconfig_scriptlets

This commit is contained in:
jiaxiya 2019-12-09 15:00:29 +08:00
parent b75a1ab98e
commit 15cd0573a7

View File

@ -60,10 +60,17 @@ CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" CXXFLAGS="$RPM_OPT_FLAGS -fno-stric
make check
%ldconfig_scriptlets
%ldconfig_scriptlets libs
%ldconfig_scriptlets mysql
%ldconfig_scriptlets pgsql
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -p /sbin/ldconfig libs
%postun -p /sbin/ldconfig libs
%post -p /sbin/ldconfig mysql
%postun -p /sbin/ldconfig mysql
%post -p /sbin/ldconfig pgsql
%postun -p /sbin/ldconfig pgsql
%files
%doc AUTHORS NEWS README NOTICE TODO