Marco Strigl
d8822885e7
- 0.165.0 * full python3 compatibility (bsc#1125243) fixes bsc#1131512, bsc#1129889, bsc#1129757 * removed following patches (now upstream): 001_helper.patch 002_man_page_building.patch 003_setup.patch 004_babysitter.patch 005_oscssl.patch 006_build.patch 007_core.patch 008_commandline.patch 009_fetch.patch 010_fix-decoding_in_canonname.patch 011_repodata.patch 012_packagequery.patch - spec file modifications: * noarch only on non-SUSE distros and newer SUSE Versions > 11 * disable testsuite on older SUSE Versions (unittest module too old) - moved Recommends for diffstat to suse specific section. - added Buildrequires and Requires for python-chardet * needed for determining the encoding of objects (Requires) * needed also for testing in %check section (BuildRequires) - activate tests for osc - add Buildrequires and Recommends for diffstat osc prdiff --diffstat needs it The testsuite needs it (Therefore the BuildRequires OBS-URL: https://build.opensuse.org/request/show/695702 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=281
20 lines
490 B
Bash
20 lines
490 B
Bash
pkgname=osc
|
|
pkgver=0.165.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
|
|
}
|