15
0
2022-03-08 10:18:59 +00:00
committed by Git OBS Bridge
parent b9a5c89c4d
commit c7d0a2f84c
2 changed files with 3 additions and 2 deletions

View File

@@ -22,7 +22,7 @@
"Unit test for Columnize"
-import mock, operator, os, sys, unittest
+import operator, os, sys, unittest
+from unittest.mock import mock
+import unittest.mock as mock
top_builddir = os.path.join(os.path.dirname(__file__), os.path.pardir)
if top_builddir[-1] != os.path.sep:

View File

@@ -49,8 +49,9 @@ BuildArch: noarch
Format a simple (i.e. not nested) list into aligned columns.
%prep
%autosetup -p1 -n columnize-%{version}
%setup -q -n columnize-%{version}
cp %{SOURCE1} ./
%autopatch -p1
%build
%python_build