.distrc.template 1.14 KB
Newer Older
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
#!/bin/bash

# options to all osc commands
: ${OSCOPTS:="-A https://api.opensuse.org"}

# the obs project in question
: ${PROJECT:=openSUSE:Tools:Devel}
: ${PACKAGE:=obs-server-svn}
: ${TARNAME:=obs-server}
: ${SPECFILE:=*.spec}

# the specfile to test-build locally (default: all spec files in $PWD)
#: ${SPECFILE:=}
: ${TARGET:=openSUSE_11.1}
: ${ARCH:=i586}

# Files from $PWD that are not part of the distribution, one on a line
# There is a second list, $CANONICAL_EXCLUDES, of files which usually
# never are part of the package (.svn, the .distrc, ..), see the
# 'distribute' script for details.
#
# These are taken from the tar ball or irrelevant during the build:
: ${EXCLUDES:=README.SETUP README.UPDATERS TODO .dist* obs.conf.template sysconfig.obs-worker.template obs-all-svn.spec.template obs-server*.*}

# this package is not in maintenance mode here
# that would mean the tar ball isn't udpated any longer, only patches
# would be added.
: ${MAINTENANCE:=}

# The version and

# The tar ball is updated from here
: ${SVNDIR:=../../buildservice}

# The svnversion of SVNDIR plus this VERSION make up the rpm package
# 'Version:'
: ${VERSION:=1.5.b1}