Marco Strigl
af1f593ead
* Added --lastsucceeded option for logfile display (requires OBS 2.11) * osc shell/chroot/wipe is now handled via build script (working for chroot and KVM only atm) * osc build/shell features: - --vm-type=qemu support for cross architecture builds - additional debug packages are read from build config now (extra-pkgs definition is therefore by default empty now) - --vm-disk-size= switch supported (has only an effect on clean builds) - repository, architecture and vm_type from last build is automatically reused if not specified otherwise. - support building for kiwi products using obsrepositories:/ * fix decoding for osc aggregatepac - added Conflicts: build < 20191205. The new osc shell/chroot features might not work with older build scripts - removed version dpendency for Recommends: build. Does not work anyway. OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=307
20 lines
490 B
Bash
20 lines
490 B
Bash
pkgname=osc
|
|
pkgver=0.167.0
|
|
pkgrel=0
|
|
pkgdesc="Open Build Service client"
|
|
arch=('i686' 'x86_64')
|
|
url="https://www.github.com/openSUSE/osc"
|
|
license=('GPL-2.0+' 'GPL-2.0')
|
|
groups=('base-devel')
|
|
depends=('python2' 'python2-m2crypto' 'urlgrabber')
|
|
source=(osc-${pkgver}.tar.gz)
|
|
md5sums=('SKIP')
|
|
|
|
package() {
|
|
msg "Installing osc ..."
|
|
cd "${srcdir}"/osc-${pkgver}
|
|
python2 setup.py build
|
|
python2 setup.py install --prefix=/usr --root=${pkgdir}
|
|
ln -s osc-wrapper.py ${pkgdir}/usr/bin/osc
|
|
}
|