Skip to content

Commit 98b28a1

Browse files
committed
ET#83337 CPP weekly branch issues with pkgver in OpenSuse
The -p argument to %post* macro don't run when there is comment or more commands below.
1 parent 0128aeb commit 98b28a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ rm -rf %{buildroot}%{_libdir}/{plugin,private}
221221

222222
%post jdbc -p /sbin/ldconfig
223223

224-
%postun jdbc -p /sbin/ldconfig
224+
%postun jdbc
225+
/sbin/ldconfig
225226

226227

227228
###############################################

0 commit comments

Comments
 (0)