update to 0.13.0 [release 0.13.0-1mamba;Fri Aug 09 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 16:44:45 +01:00
parent 392eaeed5c
commit ee257c13a9

View File

@ -1,5 +1,5 @@
Name: python-tablib
Version: 0.10.0
Version: 0.13.0
Release: 1mamba
Summary: Format agnostic tabular data library (XLS, JSON, YAML, CSV)
Group: System/Libraries
@ -7,13 +7,13 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.python.org/pypi/tablib
Source: https://pypi.python.org/packages/source/t/tablib/tablib-%{version}.tar.gz
Source: https://pypi.debian.net/tablib/tablib-%{version}.tar.gz
Patch0: python-tablib-0.10.0-python2.7.patch
License: MIT
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 python-tablib' to get the list of build requirements.
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.7.4
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -26,7 +26,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%prep
%setup -q -n tablib-%{version}
%patch0 -p1
#%patch0 -p1
%build
CFLAGS="%{optflags}" %{__python} setup.py build
@ -40,9 +40,10 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%if "%{?with_pyver}"
sed -i "/markup.cpython/d" %{name}.filelist
sed -i "/dbfpy\/__pycache__\/dbfnew.cpython/d" %{name}.filelist
%endif
%files %{?pyappend} -f %{name}.filelist
@ -50,5 +51,8 @@ sed -i "/markup.cpython/d" %{name}.filelist
%doc AUTHORS LICENSE
%changelog
* Fri Aug 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.0-1mamba
- update to 0.13.0
* Fri Aug 07 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.0-1mamba
- package created using the webbuild interface