Marco Strigl
9e924d9d62
* switch to difflib.diff_bytes and sys.stdout.buffer.write for diffing. This will fix all decoding issues with osc diff, osc ci and osc rq -d * fix osc ls -lb handling empty size and mtime * removed decoding on osc api command. * fixed broken TLS certificate handling (boo#1142518, CVE-2019-3685) OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=296
20 lines
490 B
Bash
20 lines
490 B
Bash
pkgname=osc
|
|
pkgver=0.165.3
|
|
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
|
|
}
|