%global srcname flask-healthz %global modname flask_healthz Name: python-%{srcname} Version: 0.0.2 Release: 1%{?dist} Summary: Module to easily add health endpoints to a Flask application License: BSD URL: https://github.com/fedora-infra/%{srcname} Source0: %{pypi_source %{srcname}} BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools %description This module allows you to define endpoints in your Flask application that can be used as liveness and readiness probes. %package -n python%{python3_pkgversion}-%{srcname} Summary: Module to easily add health endpoints to a Flask application %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %description -n python%{python3_pkgversion}-%{srcname} This module allows you to define endpoints in your Flask application that can be used as liveness and readiness probes. %prep %autosetup -n %{srcname}-%{version} -p1 %build %py3_build %install %py3_install %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE %doc README.md %{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{modname}-* %changelog * Sat Sep 19 2020 Neal Gompa - 0.0.2-1 - Initial packaging