diff --git a/srcpkgs/python-pbr/template b/srcpkgs/python-pbr/template index 6c4597367b6..d4fbfefde99 100644 --- a/srcpkgs/python-pbr/template +++ b/srcpkgs/python-pbr/template @@ -1,7 +1,7 @@ # Template file for 'python-pbr' pkgname=python-pbr version=0.10.7 -revision=1 +revision=2 noarch=yes wrksrc="pbr-${version}" python_versions="2.7 3.4" @@ -23,7 +23,7 @@ post_extract() { pre_build() { cd ${wrksrc}/pbr-3.4 - sed -i 's,pbr =,pbr3 =,' setup.cfg + sed -i '/console_scripts =/{n;s,pbr =,pbr3 =,}' setup.cfg } do_build() {