blob: 02f576250d2c0d0775fc41d8139ec90c109c779a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#!/bin/bash
#
# Defaults
TARGET=14
ARCH=x86_64
#------------------------------------------------------------------------------
# Testing: Having our new versions in the build root should not break
# the build of other packages that depend on nss. Two very important
# pacakges are curl and xulrunner. curl is a client of the PEM module
# and xulrunner is how Mozilla applications call nss.
#
# Install dependencies for those devel packages that depend on nss and
# verify that we don't break their builds.
while getopts i:j: opt
do
case $opt in
i) TARGET="$OPTARG";;
j) ARCH="$OPTARG";;
?) printf "Usage: %s: [-a nspr_version] [-b nspr_version] [-c nss_version] [-d nss_version] [-e dist] [-f arch]\n" $0
exit 2;;
esac
done
export dist=${TARGET}
export arch=${ARCH}
cc="curl xulrunner"
for c in $cc; do
pushd $c
fedpkg clean
fedpkg srpm
fedpkg local
push ${arch}
mock -r fedora-${dist}-${arch} --installdeps *.rpm
popd
mock -r fedora-${dist}-${arch} --copyin ${c}-*.src.rpm /tmp
popd
done
|