File add-preinstall-libzstd1.patch of Package build

Index: b/configs/sl15.2.conf
===================================================================
--- a/configs/sl15.2.conf
+++ b/configs/sl15.2.conf
@@ -54,6 +54,9 @@ Preinstall: liblua5_3-5
 # Needed with latest rpm (Use libgcrypt as crypto library for SP2 and Leap 15.2 [jsc#SLE-9552])
 Preinstall: libgcrypt20 libgpg-error0
 
+# Needed with latest rpm (Added zstd support in SLE-15-SP2 [bsc#1162668])
+Preinstall: libzstd1
+
 FileProvides: /bin/csh tcsh
 FileProvides: /bin/logger util-linux-systemd
 FileProvides: /sbin/netconfig sysconfig-netconfig
Index: b/configs/sles15sp2.conf
===================================================================
--- a/configs/sles15sp2.conf
+++ b/configs/sles15sp2.conf
@@ -48,6 +48,9 @@ VMInstall: iproute2
 # Needed with latest rpm (Use libgcrypt as crypto library for SP2 [jsc#SLE-9552])
 Preinstall: libgcrypt20 libgpg-error0
 
+# Needed with latest rpm (Added zstd support in SLE-15-SP2 [bsc#1162668])
+Preinstall: libzstd1
+
 FileProvides: /bin/csh tcsh
 FileProvides: /bin/logger util-linux-systemd
 FileProvides: /sbin/netconfig sysconfig-netconfig
openSUSE Build Service is sponsored by