]> git.pld-linux.org Git - packages/mono.git/commitdiff
- check in BRs to avoid unnecessary decompressing
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 2 Dec 2006 11:50:44 +0000 (11:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mono.spec -> 1.202

mono.spec

index 57f1c0a461193a807a12928bfbbccdb0d3066f57..106fc93e17f91a4eabd3398d2ad42b26ae6560ce 100644 (file)
--- a/mono.spec
+++ b/mono.spec
@@ -27,6 +27,9 @@ Patch1:               %{name}-mint.patch
 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
@@ -193,11 +196,6 @@ oraz dotGNU.
 %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}
This page took 0.100121 seconds and 4 git commands to generate.