From 3353299c9ca4102144d3504817f0a155f5652fbb9f40484c1071a6c536768632 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Thu, 22 Oct 2015 00:33:15 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:Cinnamon:Factory/nemo-extensions?expand=0&rev=9 --- nemo-extensions.spec | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/nemo-extensions.spec b/nemo-extensions.spec index f055a37..8830dd1 100644 --- a/nemo-extensions.spec +++ b/nemo-extensions.spec @@ -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"