diff --git a/prettytable-0.7.2.tar.gz b/prettytable-0.7.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..6c229b382321d64928c6588dc8e4a8533e9c5a49 Binary files /dev/null and b/prettytable-0.7.2.tar.gz differ diff --git a/prettytable-2.0.0.tar.gz b/prettytable-2.0.0.tar.gz deleted file mode 100644 index 138ce0c6d645916340e0f0e78ea2b6938cde926d..0000000000000000000000000000000000000000 Binary files a/prettytable-2.0.0.tar.gz and /dev/null differ diff --git a/python-prettytable.spec b/python-prettytable.spec index dd7b6bd06af42a73554d335427e81307ff0cafd1..761db9dce478f21ff8785330144aa1b00d1de040 100644 --- a/python-prettytable.spec +++ b/python-prettytable.spec @@ -1,16 +1,13 @@ -%global srcname prettytable - -Name: python-%{srcname} -Version: 2.0.0 -Release: 1 +Name: python-prettytable +Version: 0.7.2 +Release: 20 Summary: Display tabular data in a visually appealing ASCII table format. License: BSD URL: http://pypi.python.org/pypi/PrettyTable -Source0: %{pypi_source} +Source0: https://files.pythonhosted.org/packages/e0/a1/36203205f77ccf98f3c6cf17cf068c972e6458d7e58509ca66da949ca347/prettytable-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel python3-setuptools -BuildRequires: python3-setuptools_scm python3-pytest python3-py python3-wcwidth %description PrettyTable is a simple Python library designed to make it quick and easy to @@ -42,24 +39,24 @@ This package is for python3. %{__python3} setup.py build %check -%{__python3} setup.py test +%{__python3} prettytable_test.py + %install %{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %files help %defattr(-,root,root) -%doc COPYING +%doc README CHANGELOG %files -n python3-prettytable %defattr(-,root,root) %license COPYING -%{python3_sitelib}/* +%{python3_sitelib}/prettytable.py* +%{python3_sitelib}/__pycache__/prettytable* +%{python3_sitelib}/prettytable-%{version}* %changelog -* Tue Feb 2 2021 shangyibin - 2.0.0-1 -- Upgrade tp version 2.0.0 - * Wed Nov 4 2020 wangjie -0.7.2-20 - Type:NA - ID:NA