Skip to content

Commit be5257a

Browse files
committed
Bug#37096144 Errors shown when un-installing RPM packages
See https://bugzilla.redhat.com/show_bug.cgi?id=1673912
1 parent 70abc97 commit be5257a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packaging/mysql-connector-c++.spec.in

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,14 @@ mv -v %{buildroot}%{_libdir}/plugin/* %{buildroot}%{plugin_dir}
215215
rm -rf %{buildroot}%{_libdir}/{plugin,private}
216216

217217

218-
%post -p /sbin/ldconfig
218+
%post
219+
/sbin/ldconfig
219220

220-
%postun -p /sbin/ldconfig
221+
%postun
222+
/sbin/ldconfig
221223

222-
%post jdbc -p /sbin/ldconfig
224+
%post jdbc
225+
/sbin/ldconfig
223226

224227
%postun jdbc
225228
/sbin/ldconfig

0 commit comments

Comments
 (0)