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

View File

@ -335,10 +335,22 @@ find . -type d -maxdepth 1 -mindepth 1 | while read dir; do
[ -f autogen.sh ] && NOCONFIGURE=1 ./autogen.sh [ -f autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
if [ -f configure ]; then if [ -f configure ]; then
%configure \ %configure \
--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 \ --disable-static \
--enable-linux-crypto \ --enable-linux-crypto \
--enable-gcrypt \
--enable-libcrypto \ --enable-libcrypto \
%if 0%{?suse_version} >= 1320
--enable-gcrypt \
%endif
%if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse}) %if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse})
--enable-polarssl \ --enable-polarssl \
%endif %endif
@ -346,11 +358,8 @@ find . -type d -maxdepth 1 -mindepth 1 | while read dir; do
--enable-nss \ --enable-nss \
--enable-mhash \ --enable-mhash \
--enable-nemo --enable-nemo
fi make %{?_smp_mflags}
[ -f Makefile ] && make %{?_smp_mflags} popd
[ -f setup.py ] && ./setup.py build
popd
done
%install %install
find . -type d -maxdepth 1 -mindepth 1 | while read dir; do find . -type d -maxdepth 1 -mindepth 1 | while read dir; do