%check breaks the build, try using %build
@@ -87,6 +87,7 @@ twamp server
%build
%configure --with-I2util=no
make
+make check
%install
%makeinstall
@@ -104,9 +105,6 @@ make
%{__install} -D -p -m 0644 conf/twampd.limits %{buildroot}%{_sysconfdir}/twamp-server/twamp-server.limits
%{__install} -D -p -m 0644 conf/twampd.limits %{buildroot}%{_sysconfdir}/twamp-server/twamp-server.limits.default
-%check
-make check
-
%clean
rm -rf $RPM_BUILD_ROOT
