diff --git a/srcpkgs/libcap-ng/template b/srcpkgs/libcap-ng/template index 54b366806d4..8a8b7815878 100644 --- a/srcpkgs/libcap-ng/template +++ b/srcpkgs/libcap-ng/template @@ -1,22 +1,22 @@ # Template file for 'libcap-ng' pkgname=libcap-ng -version=0.7.7 +version=0.7.8 revision=1 build_style=gnu-configure -hostmakedepends="python-devel python3.4-devel swig" +configure_args="--without-python" short_desc="An alternate POSIX capabilities library" maintainer="Juan RP " homepage="http://people.redhat.com/sgrubb/libcap-ng/" license="GPL-2, LGPL-2.1" distfiles="http://people.redhat.com/sgrubb/$pkgname/$pkgname-$version.tar.gz" -checksum=615549ce39b333f6b78baee0c0b4ef18bc726c6bf1cca123dfd89dd963f6d06b +checksum=c21af997445cd4107a55d386f955c5ea6f6e96ead693e9151277c0ab5f97d05f -subpackages="libcap-ng-devel libcap-ng-progs libcap-ng-python libcap-ng-python3.4" +subpackages="libcap-ng-devel libcap-ng-progs" -if [ "$CROSS_BUILD" ]; then - subpackages="${subpackages/libcap-ng-python/}" - subpackages="${subpackages/libcap-ng-python3.4/}" - configure_args+=" --without-python" +if [ -z "$CROSS_BUILD" ]; then + subpackages+=" libcap-ng-python libcap-ng-python3.4" + hostmakedepends="python-devel python3.4-devel swig" + configure_args+=" --with-python" fi libcap-ng-devel_package() {