%global pypi_name dnsgen Name: %{pypi_name} Version: 1.0.4 Release: 3%{?dist} Summary: Generates DNS names from existing domain names License: MIT URL: https://github.com/ProjectAnte/dnsgen Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools Requires: python3-%{pypi_name} = %{?epoch:%{epoch}:}%{version}-%{release} %description This tool generates a combination of domain names from the provided input. Combinations are created based on wordlist. Custom words are extracted per execution. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} Python files or module parts for %{pypi_name}. %prep %autosetup -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files %{_bindir}/%{pypi_name} %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/%{pypi_name}/ %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog * Tue Jan 26 2021 Fedora Release Engineering - 1.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed May 27 2020 Fabian Affolter - 1.0.4-1 - Initial package for Fedora