diff --git a/.python-django-debreach.metadata b/.python-django-debreach.metadata new file mode 100644 index 0000000..ce39833 --- /dev/null +++ b/.python-django-debreach.metadata @@ -0,0 +1 @@ +9c805265e88c14a6a50847fc911938410a4fd1a0 SOURCES/django-debreach-2.1.0.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..71f947c --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# python-django-debreach + +The python-django-debreach package \ No newline at end of file diff --git a/SPECS/python-django-debreach.spec b/SPECS/python-django-debreach.spec new file mode 100644 index 0000000..e087e7e --- /dev/null +++ b/SPECS/python-django-debreach.spec @@ -0,0 +1,108 @@ +%global pypi_name django-debreach + +Name: python-%{pypi_name} +Version: 2.1.0 +Release: 2%{?dist} +Summary: Basic/extra mitigation against the BREACH attack for Django projects + +License: BSD +URL: http://github.com/lpomfrey/django-debreach +Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros +BuildRequires: python3dist(django) +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(sphinx) + +%description +Basic/extra mitigation against the BREACH attack for Django projects. + +When combined with rate limiting in your web-server, or by using something +like django-ratelimit, the techniques here should provide at least some +protection against the BREACH attack. + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} +Requires: python3dist(django) >= 2.0 +%description -n python3-%{pypi_name} +Basic/extra mitigation against the BREACH attack for Django projects. + +When combined with rate limiting in your web-server, or by using something +like django-ratelimit, the techniques here should provide at least some +protection against the BREACH attack. + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files debreach + +%check +PYTHONPATH=. %{__python3} runtests.py + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%license LICENSE +%doc README.rst + +%changelog +* Fri Jul 22 2022 Fedora Release Engineering - 2.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jun 21 2022 Alfredo Moralejo - 2.1.0-1 +- Update to 2.1.0 which includes fixes for django >= 4.0 + +* Tue Jun 14 2022 Python Maint - 2.0.1-9 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 2.0.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 2.0.1-7 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 2.0.1-6 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 2.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 2.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 2.0.1-3 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 2.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 10 2019 Javier Peña - 2.0.1-1 +- Updated to 2.0.1 release (#1759926, #1760238) +- Dropped Python 2 bits, version 2.x does not support it + +* Thu Oct 03 2019 Miro Hrončok - 1.5.2-5 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1.5.2-4 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.5.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Aug 31 2018 Javier Peña - 1.5.2-1 +- Initial package.