%global srcname grpc-google-iam-v1 %global forgeurl https://github.com/googleapis/python-grpc-google-iam-v1 Version: 0.12.4 %global tag v%{version} %forgemeta Name: python-%{srcname} Release: %autorelease Summary: GRPC library for the google-iam-v1 service License: ASL 2.0 URL: %forgeurl Source0: %forgesource BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: The IDL-derived library for the google-iam (v1) service in Google Cloud.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{_description} %prep %forgeautosetup %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files google %check %pyproject_check_import %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst %{python3_sitelib}/grpc_google_iam_v1-%{version}-py%{python3_version}-nspkg.pth %changelog %autochangelog