update-specfile: remove post scripts calling ldconfig replaced by trigger

This commit is contained in:
Silvan Calarco 2024-09-14 14:56:05 +02:00
parent 36b00b7e43
commit 0c2162fe62

View File

@ -59,6 +59,7 @@ sed -i "s|^Vendor:.*|Vendor: openmamba|;
/^BuildRequires:[[:space:]]*libkdegames5-devel/d; /^BuildRequires:[[:space:]]*libkdegames5-devel/d;
/^BuildRequires:[[:space:]]*python3.7dist/d; /^BuildRequires:[[:space:]]*python3.7dist/d;
/^BuildRoot:[[:space:]]*.*/d; /^BuildRoot:[[:space:]]*.*/d;
\,%post.* -p /sbin/ldconfig$,d;
s|\(BuildRequires:[[:space:]]*\)libmysql-devel|\1libmysql5-devel|; s|\(BuildRequires:[[:space:]]*\)libmysql-devel|\1libmysql5-devel|;
s|\(BuildRequires:[[:space:]]*\)libdb42-devel|\1libdb47-devel|; s|\(BuildRequires:[[:space:]]*\)libdb42-devel|\1libdb47-devel|;
s|\(BuildRequires:[[:space:]]*\)libdb51-devel|\1libdb53-devel|; s|\(BuildRequires:[[:space:]]*\)libdb51-devel|\1libdb53-devel|;