## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 Name: python-django-clacks Version: 0.3.1 Release: %autorelease Summary: Django Middleware for X-Clacks-Overhead License: MIT URL: https://github.com/ractf/django-clacks Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Django Middleware for X-Clacks-Overhead, a tribute to author Terry Pratchett.} %description %_description %package -n python3-django-clacks Summary: %{summary} %py_provides python3-django-clacks %description -n python3-django-clacks %_description %prep %autosetup -n django-clacks-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files clacks %check %pyproject_check_import %files -n python3-django-clacks -f %{pyproject_files} %license LICENSE %doc README.md %changelog ## START: Generated by rpmautospec * Sat Aug 19 2023 Daniel Milnes - 0.3.1-1 - Initial import (fedora#2229551). ## END: Generated by rpmautospec