Commit 7fdd248b authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack ipera-mediaserver: fix requires

parent 83ec5299
......@@ -9,6 +9,13 @@ PRODUCTDIR=/opt/ipera/mediaserver
remove_dir /etc/init
# see https://bugzilla.altlinux.org/47890
# hack due broken provides in libcurl-gnutls-compat
ignore_lib_requires "libcurl-gnutls.so.4"
add_requires "libcurl-gnutls.so.4(64bit)"
ignore_lib_requires "libnx_clusterdb_engine.so"
add_libs_requires
mkdir -p var/lib/ipera
......@@ -16,20 +23,3 @@ pack_dir /var/lib/ipera
ln -s /var/lib/ipera .$PRODUCTDIR/var
pack_file $PRODUCTDIR/var
exit
if epm assure patchelf ; then
cd $BUILDROOT$PRODUCTDIR || exit
for i in lib/lib*.so.* ; do
a= patchelf --set-rpath '$ORIGIN' $i
done
for i in bin/plugins_optional/lib*.so bin/plugins/lib*.so ; do
a= patchelf --set-rpath '$ORIGIN/../../lib' $i
done
fi
filter_from_requires "libldap_r-2.4.so.2(OPENLDAP_2.*)(64bit)" "liblber-2.4.so.2(OPENLDAP_2.*)(64bit)" "ld-linux-.*(GLIBC_PRIVATE)"
filter_from_requires libQt5 libGL libicu
set_autoreq 'yes'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment