15
0
forked from pool/python-dbf

- Version update to 0.97.11:

* No obvious changelog
- Fix fdupes call

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dbf?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2018-12-06 12:48:13 +00:00
committed by Git OBS Bridge
parent d71357d77d
commit f579e4a646
5 changed files with 14 additions and 43 deletions

View File

@@ -18,19 +18,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-dbf
Version: 0.97.5
Version: 0.97.11
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://bitbucket.org/stoneleaf/dbf/src/default/
Source: https://files.pythonhosted.org/packages/source/d/dbf/dbf-%{version}.tar.gz
Source10: https://bitbucket.org/stoneleaf/dbf/raw/%{version}/dbf/LICENSE
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
@@ -43,18 +41,16 @@ fields are supported.
%prep
%setup -q -n dbf-%{version}
cp %{SOURCE10} .
%build
%python_build
%install
%python_install
%fdupes %{buildroot}%{_prefix}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%license LICENSE
%license dbf/LICENSE
%{python_sitelib}/dbf-%{version}-py*.egg-info
%{python_sitelib}/dbf