[ "$BUILD_DIST" = "10.0-i386" ] && dist="10.0"
[ "$BUILD_DIST" = "10.1-i386" ] && dist="10.1"
# where to store built rpms
repository="/media/build/$BUILD_DIST"
# type of installation source to generate in repository
# either plain or yum or both
regen_repository="plain yum ul"
# additional sources, specify with url_...
add_sources="suse"
[ "$dist" = "10.0" ] && add_sources="$add_sources java"
[ "$dist" = "10.0" ] && add_sources="$add_sources packman"
# suse here is the one from $add_sources
url_suse="file://media/space/repo/$dist/inst-source"
url_packman="ftp://ftp.gwdg.de/pub/linux/misc/packman/suse/$dist/"
url_java="file://media/space/repo/$dist/inst-source-java"
# add this url as top priority source (needs patches on 9.0)
url_repository="file:$repository"
# extra directories that will be copied to the buildroot after
# packages have been installed. $y2pmbuildconfdir/files/$BUILD_DIST/
# is always copied. Note that rsync is used so you may want to
# think about when to append slashes to directory names.
extra_copy=""
# basename for build root directories. The final name will be
# $buildrootbase.$USER.$BUILD_DIST
buildrootbase="/media/build/build-root"
# gpg signature to use for signing. Leave empty to not sign packages
rpm_sign_name="Jonh Arson <jonharson@gmail.com>"
# key file to use for signing. Only used when rpm_sign_name is
# defined. Default $y2pmbuildconfdir/signkey.asc
#
# Create with
# gpg -a --export > FILE
# gpg -a --export-secret-key >> FILE
rpm_sign_key="/etc/y2pmbuild/signkey.asc"
# vim:syntax=sh