SPECS: mono.spec - check in BRs to avoid unnecessary decompressing

qboosh qboosh at pld-linux.org
Sat Dec 2 12:50:50 CET 2006


Author: qboosh                       Date: Sat Dec  2 11:50:49 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- check in BRs to avoid unnecessary decompressing

---- Files affected:
SPECS:
   mono.spec (1.201 -> 1.202) 

---- Diffs:

================================================================
Index: SPECS/mono.spec
diff -u SPECS/mono.spec:1.201 SPECS/mono.spec:1.202
--- SPECS/mono.spec:1.201	Sat Dec  2 11:02:27 2006
+++ SPECS/mono.spec	Sat Dec  2 12:50:44 2006
@@ -28,6 +28,9 @@
 Patch2:		%{name}-sonames.patch
 Patch3:		%{name}-script_fixes.patch
 URL:		http://www.mono-project.com/
+%if %(test -r /dev/random ; echo $?)
+BuildRequires:	ACCESSIBLE_/dev/random
+%endif
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	bison
@@ -194,11 +197,6 @@
 %patch3 -p1
 
 %build
-if [ ! -r /dev/random ]; then
-	echo "You need to have /dev/random accessible to build this package!"
-	exit 1
-fi
-
 cp -f /usr/share/automake/config.sub .
 cp -f /usr/share/automake/config.sub libgc
 %{__libtoolize}
@@ -489,6 +487,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.202  2006/12/02 11:50:44  qboosh
+- check in BRs to avoid unnecessary decompressing
+
 Revision 1.201  2006/12/02 10:02:27  pluto
 - req. /dev/random to build.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mono.spec?r1=1.201&r2=1.202&f=u



More information about the pld-cvs-commit mailing list