packages: libaio/libaio.spec - run test suite

arekm arekm at pld-linux.org
Mon Jan 18 15:35:42 CET 2010


Author: arekm                        Date: Mon Jan 18 14:35:42 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- run test suite

---- Files affected:
packages/libaio:
   libaio.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: packages/libaio/libaio.spec
diff -u packages/libaio/libaio.spec:1.12 packages/libaio/libaio.spec:1.13
--- packages/libaio/libaio.spec:1.12	Mon Jan 18 15:32:10 2010
+++ packages/libaio/libaio.spec	Mon Jan 18 15:35:36 2010
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	tests
 Summary:	Linux-native asynchronous I/O access library
 Summary(pl.UTF-8):	Biblioteka natywnego dla Linuksa asynchronicznego dostępu do wejścia/wyjścia
 Name:		libaio
@@ -61,7 +62,7 @@
 %setup -q -T -c
 rpm2cpio %{SOURCE0} | cpio -i -d || exit 1
 tar xzf *.tar.gz || exit 1
-mv %{name}-%{version}/* .
+mv %{name}-%{version}/{.version,*} .
 %patch0 -p1
 
 %build
@@ -69,6 +70,8 @@
 	CC="%{__cc}" \
 	CFLAGS="%{rpmcppflags} %{rpmcflags} -fomit-frame-pointer -fPIC -Wall -I. -nostdlib -nostartfiles"
 
+%{?with_tests:%{__make} CC="%{__cc}" partcheck}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/%{_lib}
@@ -116,6 +119,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2010/01/18 14:35:36  arekm
+- run test suite
+
 Revision 1.12  2010/01/18 14:32:10  arekm
 - up to 0.3.109 (use src.rpm as source)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libaio/libaio.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list