## 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 Name: python-sdkmanager Version: 0.6.10 Release: %autorelease Summary: sdkmanager from the Android SDK written in Python License: AGPL-3.0-or-later URL: https://gitlab.com/fdroid/sdkmanager Source: %{pypi_source sdkmanager} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: A drop-in replacement for sdkmanager from the Android SDK written in Python. It implements the exact API of the sdkmanager command line. It only deviates from that API if it can be done while being 100% compatible. The project also attempts to maintain the same terminal output so it can be compatible with things that scrape sdkmanager output.} %description %_description %package -n python3-sdkmanager Summary: %{summary} %description -n python3-sdkmanager %_description %prep %autosetup -n sdkmanager-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # Add top-level Python module names here as arguments, you can use globs %pyproject_save_files sdkmanager %check %pyproject_check_import # Tests require internet access %files -n python3-sdkmanager -f %{pyproject_files} %{_bindir}/sdkmanager %changelog ## START: Generated by rpmautospec * Thu Nov 28 2024 John Doe - 0.6.10-1 - Uncommitted changes ## END: Generated by rpmautospec