Fix build in devel project

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=323
This commit is contained in:
Ludwig Nussel 2017-08-03 12:59:19 +00:00 committed by Git OBS Bridge
parent 2eed913eda
commit 4afeb177db

View File

@ -124,8 +124,10 @@ chroot or a secure virtualized
make CFLAGS="$RPM_BUILD_FLAGS" initvm-all make CFLAGS="$RPM_BUILD_FLAGS" initvm-all
#XXX temporary hack until lua is actually in #XXX temporary hack until lua is actually in
%if 0%{?suse_version} == 1330 %if 0%{?suse_version} == 1330
if rpm -q liblua5_3-5; then
V=%suse_version V=%suse_version
sed -i -e 's/liblua5_3/liblua5_3-5/g' configs/sl${V:0:2}.${V:2:1}.conf sed -i -e 's/liblua5_3/liblua5_3-5/g' configs/sl${V:0:2}.${V:2:1}.conf
fi
%endif %endif
%endif %endif