From d312bdc1224a9882c28087156b38b23037d9cc85 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:45:30 +0100 Subject: [PATCH] update to 1.0.3 [release 1.0.3-1mamba;Sun Apr 04 2021] --- python-arrow.spec | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/python-arrow.spec b/python-arrow.spec index 8bf9df6..c81deb2 100644 --- a/python-arrow.spec +++ b/python-arrow.spec @@ -1,5 +1,5 @@ Name: python-arrow -Version: 0.17.0 +Version: 1.0.3 Release: 1mamba Summary: Better dates and times for Python Group: System/Libraries @@ -7,19 +7,22 @@ Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino URL: https://arrow.readthedocs.org -Source: https://pypi.python.org/packages/source/a/arrow/arrow-%{version}.tar.gz +Source: https://pypi.debian.net/arrow/arrow-%{version}.tar.gz License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(python-dateutil) +BuildRequires: python3.7dist(typing-extensions) ## AUTOBUILDREQ-END -Requires: python >= %python_version -Requires: python-dateutil -BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch %description %{summary}. +%if "%{?with_pyver}" +%pyver_package +%endif + %prep %setup -q -n arrow-%{version} @@ -35,12 +38,17 @@ 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 "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/arrow-%{version}-py*.egg-info +%{python_sitearch}/arrow-%{version}-py*.egg-info/* %changelog +* Sun Apr 04 2021 Silvan Calarco 1.0.3-1mamba +- update to 1.0.3 + * Wed Oct 07 2020 Automatic Build System 0.17.0-1mamba - automatic version update by autodist