## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec %global pypi_name scanless Name: %{pypi_name} Version: 2.1.5 Release: %autorelease Summary: Online port scan scraper License: Unlicense URL: https://github.com/vesche/scanless Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) Requires: python3-%{pypi_name} = %{version}-%{release} %description scanless is a Python 3 command-line utility and library for using websites that can perform port scans on your behalf. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} scanless is a Python 3 command-line utility and library for using websites that can perform port scans on your behalf. %prep %autosetup -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n %{pypi_name} %{_bindir}/%{pypi_name} %files -n python3-%{pypi_name} %doc README.md %{_bindir}/scanless %{python3_sitelib}/%{pypi_name}/ %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog * Tue Mar 08 2022 Fabian Affolter 2.1.5-6 - Update to latest upstream release 2.1.6 (closes rhbz#2052322) * Sat Jan 22 2022 Fedora Release Engineering 2.1.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering 2.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint 2.1.5-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering 2.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 09 2020 Fabian Affolter 2.1.5-1 - * Wed Dec 09 2020 Fabian Affolter - 2.1.5-1 * Wed Nov 18 2020 Fabian Affolter 2.1.4-1 - * Tue Nov 17 2020 Fabian Affolter - 2.1.4-1 * Wed Jul 29 2020 Fedora Release Engineering 2.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 28 2020 Fabian Affolter 2.1.3-3 - Add changes * Sun Jun 28 2020 Fabian Affolter 2.1.3-1 - * Sun Jun 28 2020 Fabian Affolter - 2.1.3-1 * Sat Jun 27 2020 Fabian Affolter 2.1.2-2 - * Sat Jun 27 2020 Fabian Affolter - 2.1.2-2 * Sat Jun 27 2020 Fabian Affolter 2.1.2-1 - * Sun Jun 07 2020 Fabian Affolter - 2.1.2-1