rpms/cryptopp/devel cryptopp.spec,1.3,1.4

Aurelien Bompard abompard at fedoraproject.org
Sat Mar 21 14:15:56 UTC 2009


Author: abompard

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

Modified Files:
	cryptopp.spec 
Log Message:
fix %check section


Index: cryptopp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cryptopp/devel/cryptopp.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- cryptopp.spec	21 Mar 2009 10:03:25 -0000	1.3
+++ cryptopp.spec	21 Mar 2009 14:15:25 -0000	1.4
@@ -83,11 +83,8 @@
 
 
 %check
-mkdir -p tmp
-cp -a TestVectors/* tmp
-(cd tmp && ../cryptest v > cryptest.log 2>&1 && \
-test ! -z "`grep -q '^FAILED' cryptest.log`" || exit 1)
-rm -r tmp
+./cryptest v 2>&1 | tee cryptest.log
+grep -qs '^FAILED' cryptest.log && exit 1 || :
 
 %clean
 rm -rf $RPM_BUILD_ROOT




More information about the fedora-extras-commits mailing list