Name: slowloris Version: 0.2.1 Release: 9%{?dist} Summary: Low bandwidth DoS tool License: MIT URL: https://github.com/gkbrk/slowloris Source0: %{pypi_source Slowloris} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools Requires: python3-%{name} = %{?epoch:%{epoch}:}%{version}-%{release} %description Slowloris is basically an HTTP Denial of Service attack that affects threaded servers. %package -n python3-%{name} Summary: %{summary} %{?python_provide:%python_provide python3-%{name}} %description -n python3-%{name} Slowloris is basically an HTTP Denial of Service attack that affects threaded servers. %prep %autosetup -n Slowloris-%{version} # Use setuptools sed -i -e "s/distutils.core/setuptools/g" setup.py # Remove shebang sed -i -e '/^#!\//, 1d' %{name}.py %build %py3_build %install %py3_install %files %{_bindir}/%{name} %files -n python3-%{name} %doc README.md %license LICENSE %{python3_sitelib}/__pycache__/* %{python3_sitelib}/%{name}.py %{python3_sitelib}/Slowloris-%{version}-py*.egg-info %changelog * Sat Jul 23 2022 Fedora Release Engineering - 0.2.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.2.1-8 - Rebuilt for Python 3.11 * Sat Jan 22 2022 Fedora Release Engineering - 0.2.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2.1-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 0.2.1-2 - Rebuilt for Python 3.9 * Fri Mar 27 2020 Fabian Affolter - 0.2.1-1 - Add README and LICENSE file - Update to latest upstream release 0.2.1 * Mon Mar 16 2020 Fabian Affolter - 0.2.0-1 - Initial package for Fedora