git.annexia.org
/
fedora-mingw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
55473e2
)
Disable OCaml builds in Fedora 10.
author
Richard W.M. Jones
<rjones@redhat.com>
Mon, 26 Jan 2009 10:02:11 +0000
(10:02 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 26 Jan 2009 10:02:11 +0000
(10:02 +0000)
build-everything-in-mock.sh
patch
|
blob
|
history
diff --git
a/build-everything-in-mock.sh
b/build-everything-in-mock.sh
index
bdc81e3
..
782bea2
100755
(executable)
--- a/
build-everything-in-mock.sh
+++ b/
build-everything-in-mock.sh
@@
-1,9
+1,11
@@
#!/bin/bash -
#!/bin/bash -
+set -e
+
# These are the packages we don't want to build yet:
nobuild=$(grep -v '^#' IGNORE)
# These are the packages we don't want to build yet:
nobuild=$(grep -v '^#' IGNORE)
-# Keep going
(not safe). Comment out for a safe build
.
+# Keep going
- don't stop when smock hits an error
.
keepgoing=--keepgoing
rm -f */*.src.rpm
keepgoing=--keepgoing
rm -f */*.src.rpm
@@
-26,10
+28,29
@@
for dir in *; do
fi
done
fi
done
+# Rawhide build everything:
+
smock/smock.pl \
--arch=i386 \
--arch=x86_64 \
--distro=fedora-rawhide \
smock/smock.pl \
--arch=i386 \
--arch=x86_64 \
--distro=fedora-rawhide \
- --distro=fedora-10 \
$keepgoing \
$srpms
$keepgoing \
$srpms
+
+# In Fedora 10 don't try to build the OCaml RPMs since they
+# require OCaml 3.11 which was not in Fedora 10:
+
+srpms_no_ocaml=""
+for f in $srpms; do
+ case $f in
+ *ocaml* | *virt-top*) ;;
+ *) srpms_no_ocaml="$srpms_no_ocaml $f" ;;
+ esac
+done
+
+smock/smock.pl \
+ --arch=i386 \
+ --arch=x86_64 \
+ --distro=fedora-10 \
+ $keepgoing \
+ $srpms_no_ocaml