diff --git a/libnice.spec b/libnice.spec index f341e45..bb22cea 100644 --- a/libnice.spec +++ b/libnice.spec @@ -78,15 +78,13 @@ developing applications that use %{name}. %patch1 -p1 %patch2 -p1 %patch3 -p1 +chmod 0755 scripts/valgrind-test-driver # disable test-new-dribble that sometimes hangs indefinitely sed -e 's/test-new-dribble/#&/' -i tests/Makefile.am autoreconf -fiv -%check -#make check - %build export CFLAGS="$RPM_OPT_FLAGS" @@ -116,6 +114,11 @@ make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +%check +export LD_LIBRARY_PATH="$PWD/nice/.libs" +make check + + %post -p /sbin/ldconfig @@ -151,6 +154,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %changelog * Fri Feb 09 2018 Kamil Dudka - 0.1.14-4.20171128gitfb2f1f7 +- enable make check again - make tests pass in Koji - disable test-new-dribble that sometimes hangs indefinitely - make tests compile on i686