## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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-picklefield %global modname picklefield %global forgeurl https://github.com/koed00/django-q Name: python-%{srcname} Version: 3.2.0 Release: %autorelease Summary: A multiprocessing distributed task queue for Django License: MIT URL: http://github.com/gintas/django-picklefield # PyPI tarball has no tests # Source0: %%{pypi_source %%{srcname}} Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel # Test dependencies: # for some reason these are not picked up automatically BuildRequires: python3dist(django) %global _description %{expand: django-picklefield provides an implementation of a pickled object field. Such fields can contain any picklable objects. The implementation is taken and adopted from Django snippet \#1694 by Taavi Taijala, which is in turn based on Django snippet \#513 by Oliver Beattie.} %description %{_description} %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} %description -n python%{python3_pkgversion}-%{srcname} %{_description} %prep %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{modname} %check # tox.ini runs coverage tests we don't need and # need to be patched for py310 # # the two tests in PickledObjectFieldCheckTests failed # and django test / unittest's -k doesn't do negations %python3 -m django test -v2 --settings=tests.settings \ -k PickledObjectFieldTests \ -k PickledObjectFieldDeconstructTests %files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files} %license LICENSE %doc README.rst %changelog ## START: Generated by rpmautospec * Tue Sep 17 2024 Michel Lind - 3.2.0-1 - Update to version 3.2.0 * Fri Jul 19 2024 Fedora Release Engineering - 3.0.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 3.0.1-11 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.0.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.0.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 3.0.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 29 2023 Python Maint - 3.0.1-7 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 3.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 3.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint - 3.0.1-4 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 3.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Dec 14 2021 Michel Alexandre Salim - 3.0.1-2 - Drop unneeded setuptools BR * Mon Dec 13 2021 Michel Alexandre Salim - 3.0.1-1 - Update to 3.0.1 - Adjust for latest packaging guidelines - Opt in to rpmautospec * Sat Sep 30 2017 Igor Gnatenko - 1.0.0-1 - Update to 1.0.0 * Fri Aug 26 2016 Igor Gnatenko - 0.3.2-1 - Initial package ## END: Generated by rpmautospec