Commit 699e0722 authored by Leonardo Arena's avatar Leonardo Arena
Browse files

main/py-rtslib: upgrade to v2.1.fb28

parent 34c92d4f
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-rtslib
_realname=rtslib
pkgver=2.1_p22
_realname=rtslib-fb
pkgver=2.1_p28
_ver=${pkgver/_rc/rc}
_ver=${_ver/_p/.fb}
pkgrel=0
......@@ -15,12 +15,12 @@ depends_dev="py-configobj py-ethtool py-ipaddr"
makedepends="$depends_dev"
install=""
subpackages=
source="http://dev.alpinelinux.org/archive/rtslib/$_realname-$_ver.tar.gz"
source="https://github.com/agrover/rtslib-fb/archive/v${_ver}.tar.gz"
_giturl="https://github.com/agrover/rtslib-fb.git"
_gittag=v$_ver
_builddir="$srcdir"/$_realname
_builddir="$srcdir"/${_realname}-${_ver}
snapshot() {
mkdir -p "$srcdir"
......@@ -56,11 +56,11 @@ build() {
package() {
cd "$_builddir"
python setup.py install --root="$pkgdir"
install -D -m644 specs/ib_srpt.spec $pkgdir/var/lib/target/fabric/ib_srpt.spec
install -D -m644 specs/iscsi.spec $pkgdir/var/lib/target/fabric/iscsi.spec
install -D -m644 specs/loopback.spec $pkgdir/var/lib/target/fabric/loopback.spec
install -D -m644 specs/qla2xxx.spec $pkgdir/var/lib/target/fabric/qla2xxx.spec
install -D -m644 specs/tcm_fc.spec $pkgdir/var/lib/target/fabric/tcm_fc.spec
# install -D -m644 specs/ib_srpt.spec $pkgdir/var/lib/target/fabric/ib_srpt.spec
# install -D -m644 specs/iscsi.spec $pkgdir/var/lib/target/fabric/iscsi.spec
# install -D -m644 specs/loopback.spec $pkgdir/var/lib/target/fabric/loopback.spec
# install -D -m644 specs/qla2xxx.spec $pkgdir/var/lib/target/fabric/qla2xxx.spec
# install -D -m644 specs/tcm_fc.spec $pkgdir/var/lib/target/fabric/tcm_fc.spec
}
md5sums="2d3b9fe471c1f17a4171d64cd68ebcca rtslib-2.1.fb22.tar.gz"
md5sums="d4fca75915bed17672ff1c525676d46e v2.1.fb28.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment