%global pypi_name flask-healthz
%global mod_name flask_healthz
Name: python-%{pypi_name}
Version: 0.0.3
Release: 5%{?dist}
Summary: Module to easily add health endpoints to a Flask application
License: BSD
URL: https://github.com/fedora-infra/%{pypi_name}
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
%description
This module allows you to define endpoints in your Flask application
that can be used as liveness and readiness probes.
%package -n python3-%{pypi_name}
Summary: Module to easily add health endpoints to a Flask application
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
This module allows you to define endpoints in your Flask application
that can be used as liveness and readiness probes.
%prep
%autosetup -n %{pypi_name}-%{version} -p1
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
%{python3_sitelib}/%{mod_name}/
%{python3_sitelib}/%{mod_name}-%{version}-py%{python3_version}.egg-info/
%changelog
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.0.3-3
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sun Jul 25 2021 Neal Gompa <ngompa@fedoraproject.org> - 0.0.3-1
- Update to 0.0.3
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.0.2-3
- Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Sep 21 2020 Neal Gompa <ngompa13@gmail.com> - 0.0.2-1
- Initial packaging