Commit 36237f86 authored by Pavel Vainerman's avatar Pavel Vainerman

fix build noarch for ALT Linux

parent 71ddaab3
......@@ -24,7 +24,7 @@
Name: libuniset2
Version: 2.8.1
Release: alt1
Release: alt2
Summary: UniSet - library for building distributed industrial control systems
License: LGPL
......@@ -345,6 +345,15 @@ Libraries needed to develop for uniset MQTT extension
%configure %{subst_enable docs} %{subst_enable mysql} %{subst_enable sqlite} %{subst_enable pgsql} %{subst_enable python} %{subst_enable rrd} %{subst_enable io} %{subst_enable logicproc} %{subst_enable tests} %{subst_enable mqtt} %{subst_enable api} %{subst_enable netdata} %{subst_enable logdb} %{subst_enable com485f} %{subst_enable opentsdb}
%make_build
# fix for ALTLinux build (noarch)
%if_enabled docs
cd docs/html
PNGFILES=`find ./ -name '*.png' -type f`
for F in ${PNGFILES}; do
convert ${F} -flatten +matte ${F}
done
%endif
%install
%makeinstall_std
rm -f %buildroot%_libdir/*.la
......
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