## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 14; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname django-timezone-field Name: python-%{srcname} Version: 4.2.1 Release: %autorelease Summary: Django app providing database and form fields for pytz timezone objects # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: https://github.com/mfogel/django-timezone-field Source: %{pypi_source} BuildArch: noarch %global _description %{expand: %{summary}.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description -n python3-%{srcname} %{_description} Python 3 version. %package -n python3-%{srcname}+rest_framework Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}+rest_framework} Provides: python3dist(%{srcname}[rest_framework]) = %{version} Provides: python%{python3_version}dist(%{srcname}[rest_framework]) = %{version} Requires: python%{python3_version}dist(%{srcname}) = %{version} Requires: python%{python3_version}dist(djangorestframework) >= 3 %description -n python3-%{srcname}+rest_framework %{_description} "rest_framework" extras. Python 3 version. %prep %autosetup -n %{srcname}-%{version} -p1 rm -vr *.egg-info %build %py3_build %install %py3_install %files -n python3-%{srcname} %license LICENSE.txt %doc README.md %{python3_sitelib}/django_timezone_field-*.egg-info/ %{python3_sitelib}/timezone_field/ %files -n python3-%{srcname}+rest_framework %{?python_extras_subpkg:%ghost %{python3_sitelib}/django_timezone_field-*.egg-info/} %changelog ## START: Generated by rpmautospec * Wed Sep 04 2024 Miroslav Suchý - 4.2.1-14 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 4.2.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 4.2.1-12 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 4.2.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 4.2.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 4.2.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 4.2.1-8 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 4.2.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 4.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 4.2.1-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 4.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 4.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Jul 18 2021 Igor Raits - 4.2.1-2 - Fixup doc file * Sun Jul 18 2021 Igor Raits - 4.2.1-1 - Update to 4.2.1 * Fri Jun 04 2021 Python Maint - 4.1.2-2 - Rebuilt for Python 3.10 * Fri Mar 19 2021 Charalampos Stratakis - 4.1.2-1 - Update to 4.1.2 (rhbz#1940191) * Wed Jan 27 2021 Fedora Release Engineering - 4.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 12 2020 Igor Raits - 4.1.1-1 - Update to 4.1.1 * Wed Jul 29 2020 Fedora Release Engineering - 4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 4.0-2 - Rebuilt for Python 3.9 * Fri Jan 31 2020 Igor Raits - 4.0-1 - Update to 4.0 * Thu Jan 30 2020 Fedora Release Engineering - 3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Sep 06 2019 Igor Gnatenko - 3.0-1 - Initial import ## END: Generated by rpmautospec