From 206b13f7ae14a833306cfecfe3edf16a0fb26c4b Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Fri, 9 Jan 2015 12:25:25 +0100 Subject: [PATCH] python-pbr: rename only the pbr console script --- srcpkgs/python-pbr/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {