python-pbr: rename only the pbr console script

This commit is contained in:
Alessio Sergi 2015-01-09 12:25:25 +01:00
parent 4858a1e2aa
commit 206b13f7ae
1 changed files with 2 additions and 2 deletions

View File

@ -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() {