%global pypi_name dateutils Name: python-%{pypi_name} Version: 0.6.12 Release: 1%{?dist} Summary: Various utilities for working with date and datetime objects License: 0BSD URL: https://github.com/jmcantrell/python-dateutils Source0: %{pypi_source} BuildArch: noarch %description This package is providing more complex arithmetic operations on dates/times. Heavy use is made of the relativedelta type from the dateutil library. Much of this package is just a light wrapper on top of this with some added features such as range generation and business day calculation. %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-pytz BuildRequires: python3-setuptools Requires: python3-pytz %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} This package is providing more complex arithmetic operations on dates/times. Heavy use is made of the relativedelta type from the dateutil library. Much of this package is just a light wrapper on top of this with some added features such as range generation and business day calculation. %prep %autosetup -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE %doc README.mkd %{python3_sitelib}/%{pypi_name}/ %{python3_sitelib}/%{pypi_name}-%{version}-py*.egg-info/ # Avoid conflicts with dateutils package %exclude %{_bindir}/dateadd %exclude %{_bindir}/datediff %changelog * Fri May 06 2022 Ali Erdinc Koroglu - 0.6.12-1 - Update to 0.6.12 * Fri Jan 21 2022 Fedora Release Engineering - 0.6.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.6.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.6.8-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.6.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.6.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 0.6.8-2 - Rebuilt for Python 3.9 * Thu Apr 02 2020 Fabian Affolter - 0.6.8-1 - Add README file - Update to latest upstream release 0.6.8 * Tue Mar 31 2020 Fabian Affolter - 0.6.7-1 - Initial package for Fedora