From e7dfae7fb76b09cb7fd68190c7a13890a5f94ee9a96ea77f0666803257a51474 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 5 Oct 2011 16:20:54 +0000 Subject: [PATCH] Accepting request 86737 from home:uli_suse:branches:X11:XOrg - cross-build fix: move testing to %check section OBS-URL: https://build.opensuse.org/request/show/86737 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=86 --- libdrm.changes | 5 +++++ libdrm.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/libdrm.changes b/libdrm.changes index 8520de2..2efdc7d 100644 --- a/libdrm.changes +++ b/libdrm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 5 15:17:04 UTC 2011 - uli@suse.com + +- cross-build fix: move testing to %check section + ------------------------------------------------------------------- Fri Jun 17 18:19:08 UTC 2011 - vljn@ovi.com diff --git a/libdrm.spec b/libdrm.spec index 067b5bd..9ce67b0 100644 --- a/libdrm.spec +++ b/libdrm.spec @@ -68,6 +68,9 @@ autoreconf -fi export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure --with-pic --enable-nouveau-experimental-api --enable-vmwgfx-experimental-api --enable-udev %{__make} %{?jobs:-j%jobs} +%{__make} %{?jobs:-j%jobs} -C tests dristat drmstat + +%check %{__make} %{?jobs:-j%jobs} -C tests check-am %install