From 6a7dda4156b45a06f5a632c75660c48c666ba644 Mon Sep 17 00:00:00 2001 From: hanxinke Date: Thu, 9 Jan 2020 20:49:36 +0800 Subject: [PATCH] python-prettytable:sync community --- disable-encoding-check.patch | 12 ------------ python-prettytable.spec | 11 ++++++++--- 2 files changed, 8 insertions(+), 15 deletions(-) delete mode 100644 disable-encoding-check.patch diff --git a/disable-encoding-check.patch b/disable-encoding-check.patch deleted file mode 100644 index 581c8f5..0000000 --- a/disable-encoding-check.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur -Naru prettytable-0.7.2.orig/prettytable_test.py prettytable-0.7.2/prettytable_test.py ---- prettytable-0.7.2.orig/prettytable_test.py 2013-04-06 23:43:12.000000000 +0000 -+++ prettytable-0.7.2/prettytable_test.py 2014-01-07 18:49:26.017977139 +0000 -@@ -582,7 +582,7 @@ - - def testPrint(self): - print() -- print(self.x) -+ #print(self.x) - - if __name__ == "__main__": - unittest.main() diff --git a/python-prettytable.spec b/python-prettytable.spec index e78eafc..990ab3b 100644 --- a/python-prettytable.spec +++ b/python-prettytable.spec @@ -1,11 +1,10 @@ Name: python-prettytable Version: 0.7.2 -Release: 16 +Release: 17 Summary: Display tabular data in a visually appealing ASCII table format. License: BSD URL: http://pypi.python.org/pypi/PrettyTable Source0: http://pypi.python.org/packages/source/P/PrettyTable/prettytable-%{version}.tar.gz -Patch0: disable-encoding-check.patch BuildArch: noarch %if 0%{?with_python2} @@ -52,7 +51,7 @@ a row range. This package is for python3. %prep -%autosetup -n prettytable-%{version} -p1 +%autosetup -n prettytable-%{version} rm -rf %{py3dir} cp -a . %{py3dir} @@ -104,5 +103,11 @@ popd %{python3_sitelib}/prettytable-%{version}* %changelog +* Thu Jan 9 2020 hanxinke - 0.7.2-17 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:sync community + * Mon Sep 16 2019 openEuler Buildteam - 0.7.2-16 - Package init -- Gitee