diff --git a/dbf-0.97.11.tar.gz b/dbf-0.97.11.tar.gz deleted file mode 100644 index b93fca8..0000000 --- a/dbf-0.97.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8aa5a73d8b140aa3c511a3b5b204a67d391962e90c66b380dd048fcae6ddbb68 -size 94133 diff --git a/dbf-0.98.0.tar.gz b/dbf-0.98.0.tar.gz new file mode 100644 index 0000000..689fd60 --- /dev/null +++ b/dbf-0.98.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab77fc2885a140425c1ef63a68c13b7a58d4789aa9adb97e772e39791f4a3021 +size 98231 diff --git a/python-dbf.changes b/python-dbf.changes index bc84266..b124a41 100644 --- a/python-dbf.changes +++ b/python-dbf.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Mar 19 15:01:20 UTC 2019 - Tomáš Chvátal + +- Update to 0.98.0: + * fix resize_field to work on empty tables + * fix export to fixed-width by using codecs.open + * allow non-standard characters in field names (with warnings) +- Run tests + ------------------------------------------------------------------- Thu Dec 6 12:46:33 UTC 2018 - Tomáš Chvátal diff --git a/python-dbf.spec b/python-dbf.spec index 577f1e5..889a60e 100644 --- a/python-dbf.spec +++ b/python-dbf.spec @@ -1,7 +1,7 @@ # # spec file for package python-dbf # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dbf -Version: 0.97.11 +Version: 0.98.0 Release: 0 Summary: Pure python package for reading/writing dBase, FoxPro, and Visual FoxPro .dbf License: BSD-3-Clause Group: Development/Languages/Python -URL: https://bitbucket.org/stoneleaf/dbf/src/default/ +URL: https://pypi.org/project/dbf/ Source: https://files.pythonhosted.org/packages/source/d/dbf/dbf-%{version}.tar.gz +BuildRequires: %{python_module aenum} +BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-aenum +Requires: python-pytz BuildArch: noarch %python_subpackages @@ -49,6 +53,9 @@ fields are supported. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python dbf/test.py + %files %{python_files} %license dbf/LICENSE %{python_sitelib}/dbf-%{version}-py*.egg-info