forked from pool/python-columnize
Fix the democking patch.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-columnize?expand=0&rev=5
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user