Name: joft Version: 0.1.0 Release: %autorelease Summary: CLI tool for automation of user actions on a JIRA instance License: MIT URL: https://github.com/mcurlej/joft Source: %{url}/archive/refs/tags/%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: JOFT is a CLI tool for automation of user actions on a JIRA instance. This was created because the build-in automation in JIRA is not sufficient when you want to do complex actions without having the admin rights on the instance.} %description %_description %prep %autosetup -p1 -n joft-%{version} # Workaround for https://github.com/mcurlej/joft/issues/36 sed -i "/jira\[cli\]/s/\[cli\]//" pyproject.toml %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l joft mkdir -p %{buildroot}%{_sysconfdir} touch %{buildroot}%{_sysconfdir}/joft.config.toml %check %pytest %files -f %{pyproject_files} %doc README.md CHANGELOG.md %{_bindir}/joft %ghost %{_sysconfdir}/joft.config.toml %changelog %autochangelog