ce06830
%global pypi_name django-health-check
ce06830
ce06830
Name:           python-%{pypi_name}
04fe73d
Version:        3.16.5
a840e04
Release:        9%{?dist}
ce06830
Summary:        Checks for various conditions and provides reports
ce06830
ce06830
License:        MIT
ce06830
URL:            https://github.com/KristianOellegaard/django-health-check
ce06830
Source0:        %pypi_source
ce06830
ce06830
BuildArch:      noarch
ce06830
ce06830
BuildRequires:  python3-devel
538c319
BuildRequires:  python3-pip
ce06830
BuildRequires:  python3-pytest-runner
538c319
BuildRequires:  python3-setuptools
ce06830
BuildRequires:  python3-setuptools_scm
ce06830
BuildRequires:  python3-sphinx
ce06830
ce06830
%global _description\
ce06830
A Django application that provides health check capabilities.\
ce06830
Many of these checks involve connecting to back-end services and ensuring\
ce06830
basic operations are successful.
ce06830
ce06830
%description %_description
ce06830
ce06830
%package -n python3-%{pypi_name}
ce06830
Summary:        %summary
ce06830
Requires:       python3-django
ce06830
%{?python_provide:%python_provide python3-%{pypi_name}}
ce06830
ce06830
%description -n python3-%{pypi_name} %_description
ce06830
ce06830
%package -n python-%{pypi_name}-doc
ce06830
Summary:        Documentation for django-health-check
ce06830
%description -n python-%{pypi_name}-doc
ce06830
Documentation for django-health-check
ce06830
ce06830
%prep
ce06830
%autosetup -n %{pypi_name}-%{version}
ce06830
ce06830
%build
ce06830
%py3_build
ce06830
ce06830
%install
ce06830
%py3_install
ce06830
ce06830
# TODO: Enable once pytest-django is packaged
ce06830
# https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/QTZIBOTA5XHNOLEF22K46XC74LZ7OQP5/
ce06830
# %%check
ce06830
# export DJANGO_SETTINGS_MODULE=tests.testapp.settings
ce06830
# %%{__python3} -m pytest tests
ce06830
ce06830
%files -n python3-%{pypi_name}
ce06830
%doc README.rst
ce06830
%license LICENSE
ce06830
%{python3_sitelib}/health_check/
ce06830
%{python3_sitelib}/django_health_check-*.egg-info/
ce06830
ce06830
%files -n python-%{pypi_name}-doc
538c319
# There is a docs directory but it is no longer included in the release tarball
538c319
# https://github.com/KristianOellegaard/django-health-check/tree/master/docs
538c319
%doc README.rst
ce06830
%license LICENSE
ce06830
ce06830
%changelog
a840e04
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.16.5-9
a840e04
- Rebuilt for Python 3.13
a840e04
746edfd
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.16.5-8
746edfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
746edfd
da0ba99
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.16.5-7
da0ba99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
da0ba99
623eee8
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.16.5-6
623eee8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
623eee8
9f764db
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 3.16.5-5
9f764db
- Rebuilt for Python 3.12
9f764db
93d4d9b
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.16.5-4
93d4d9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
93d4d9b
2208c0a
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.16.5-3
2208c0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2208c0a
723a7d4
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.16.5-2
723a7d4
- Rebuilt for Python 3.11
723a7d4
04fe73d
* Wed Apr 6 2022 David Moreau-Simard - 3.16.5-1
04fe73d
- Update to latest upstream release
04fe73d
- Includes fix for django 4.x (https://github.com/KristianOellegaard/django-health-check/commit/93e9cdd1e881f255166df2d1189fcae838a077a9)
04fe73d
fb74ca7
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-8
fb74ca7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
fb74ca7
aec9f6e
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-7
aec9f6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
aec9f6e
b286fe0
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.11.0-6
b286fe0
- Rebuilt for Python 3.10
b286fe0
5890b77
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-5
5890b77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
5890b77
607f754
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-4
607f754
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
607f754
54289b7
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 3.11.0-3
54289b7
- Rebuilt for Python 3.9
54289b7
b03b963
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-2
b03b963
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b03b963
ce06830
* Wed Oct 23 2019 David Moreau Simard <dmsimard@redhat.com> - 3.11.0-1
ce06830
- First version of the package