From f74d261af7f22ff6a77e5435f5c8f5a7c9f09025 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 23 Jul 2015 00:03:43 +0700 Subject: - traceback2 - update linecache2 to increase commonality with traceback2 --- python/python-linecache2.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'python/python-linecache2.spec') diff --git a/python/python-linecache2.spec b/python/python-linecache2.spec index d974fce..2901b88 100644 --- a/python/python-linecache2.spec +++ b/python/python-linecache2.spec @@ -48,7 +48,7 @@ A backport of linecache to older supported Pythons. mv %{pkgname}-%{version} python2 # tests/inspect_fodder2.py not Py2 compatible # besides tests shouldn't be installed -mv python2/linecache2/tests . +mv python2/%{pkgname}/tests . %if %{with python3} cp -a python2 python3 @@ -85,16 +85,16 @@ popd %check pushd python2 -mv ../tests linecache2/ -%{__python2} -m unittest2 -mv linecache2/tests ../ +mv ../tests %{pkgname}/ +%{__python2} -m unittest2 -v +mv %{pkgname}/tests ../ popd %if %{with python3} pushd python3 -mv ../tests linecache2/ -%{__python3} -m unittest2 -mv linecache2/tests ../ +mv ../tests %{pkgname}/ +%{__python3} -m unittest2 -v +mv %{pkgname}/tests ../ popd %endif -- cgit