## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autochangelog ## END: Set by rpmautospec %global srcname AvaTax-REST-V2-Python-SDK %global pkgname avalara Name: python-avalara Version: 24.12.0 Release: 1%{?dist} Summary: AvaTax Python SDK License: Apache-2.0 uRL: https://github.com/avadev/%{srcname} Source0: https://github.com/avadev/%{srcname}/archive/refs/tags/%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # BuildRequires: python3-pytest # BuildRequires: python3dist(pytest-cov) # BuildRequires: python3dist(tox) # BuildRequires: python3dist(tox-current-env) %global _description %{expand: Sales Tax API SDK for Python and AvaTax REST.} %description %_description %package -n python3-%{pkgname} Summary: %{summary} %description -n python3-%{pkgname} %_description %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pkgname} %check %pyproject_check_import # Not running tests here as they require you to have an account and an internet connection. %files -n python3-%{pkgname} %doc README.* %doc LICENSE.txt %{python3_sitelib}/Avalara-*.dist-info/* %{python3_sitelib}/avalara/* %changelog ## START: Generated by rpmautospec * Thu Jan 23 2025 John Doe - 24.12.0-1 - Uncommitted changes ## END: Generated by rpmautospec