1
0
Alexei Sorokin 2015-10-22 00:33:15 +00:00 committed by Git OBS Bridge
parent 5281b53373
commit 3353299c9c

View File

@ -335,23 +335,32 @@ find . -type d -maxdepth 1 -mindepth 1 | while read dir; do
[ -f autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
if [ -f configure ]; then
%configure \
--disable-static \
--enable-linux-crypto \
--enable-gcrypt \
--enable-libcrypto \
%if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse})
--enable-polarssl \
%endif
--enable-nettle \
--enable-nss \
--enable-mhash \
--enable-nemo
--disable-static
fi
[ -f Makefile ] && make %{?_smp_mflags}
[ -f setup.py ] && ./setup.py build
popd
done
# For nemo-gtkhash.
pushd nemo-gtkhash
%configure \
--disable-static \
--enable-linux-crypto \
--enable-libcrypto \
%if 0%{?suse_version} >= 1320
--enable-gcrypt \
%endif
%if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse})
--enable-polarssl \
%endif
--enable-nettle \
--enable-nss \
--enable-mhash \
--enable-nemo
make %{?_smp_mflags}
popd
%install
find . -type d -maxdepth 1 -mindepth 1 | while read dir; do
pushd "$dir"