## START: Set by rpmautospec ## (rpmautospec version 0.6.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 git-pw Name: python-%{srcname} Version: 2.6.0 Release: %autorelease Summary: Tool for integrating Git with Patchwork. License: MIT URL: https://github.com/getpatchwork/git-pw Source: %{url}/releases/download/%{version}/%{srcname}-%{version}.tar.gz %py_provides python3-git_pw %global debug_package %{nil} %global _description %{expand: git-pw is a tool for integrating Git with Patchwork, the web-based patch tracking system.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-requests BuildRequires: python3-click BuildRequires: python3-pbr BuildRequires: python3-arrow BuildRequires: python3-tabulate BuildRequires: python3-yaml Requires: python3-requests Requires: python3-click Requires: python3-pbr Requires: python3-arrow Requires: python3-tabulate Requires: python3-yaml %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{srcname}-%{version} %build %py3_build %install %py3_install %check %files -n python3-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/git_pw/ %ghost %{python3_sitelib}/*.egg-info %{_bindir}/git-pw %changelog ## START: Generated by rpmautospec * Wed May 22 2024 Jonathan Wakely - 2.6.0-1 - Initial commit of git-pw version 2.6.0 ## END: Generated by rpmautospec