rpms/libmowgli/devel libmowgli.spec,1.6,1.7

Michael Schwendt mschwendt at fedoraproject.org
Wed Nov 18 22:30:58 UTC 2009


Author: mschwendt

Update of /cvs/pkgs/rpms/libmowgli/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27453

Modified Files:
	libmowgli.spec 
Log Message:
run examples in %%check after %%install, so we can set ld.so search path


Index: libmowgli.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libmowgli/devel/libmowgli.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- libmowgli.spec	18 Nov 2009 22:15:21 -0000	1.6
+++ libmowgli.spec	18 Nov 2009 22:30:58 -0000	1.7
@@ -53,18 +53,20 @@ find %{examplesdir} -name Makefile | xar
 
 make %{?_smp_mflags}
 
-# Execute examples for some testing.
-# Not really suitable for %%check section.
-for f in $(find src/examples -type f -executable) ; do
-    $f
-done
-
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 
 
+%check
+# Execute examples for some testing. Not really a test-suite.
+for f in $(find src/examples -type f -executable) ; do
+    LD_LIBRARY_PATH=${RPM_BUILD_ROOT}%{_libdir}  $f || true
+done
+exit 0
+
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 




More information about the fedora-extras-commits mailing list