%global pypi_name PythonLibs Name: python-%{pypi_name} Version: 0.01 Release: 2%{?dist} Summary: Python learning repository with utility modules for GitHub API and email License: GPL-3.0 URL: https://github.com/Michel4lves/pythonlibs Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel %description PythonLibs is a Python learning repository containing utility modules for GitHub API interaction (avatar lookup), database connections, user modeling, and email sending. It is a setuptools-based pure Python package. %package -n python3-%{pypi_name} Summary: Python learning repository with utility modules for GitHub API and email Provides: python-%{pypi_name} = %{version}-%{release} Provides: python3dist(pythonlibs) = %{version} Requires: python3-requests %description -n python3-%{pypi_name} PythonLibs is a Python learning repository containing utility modules for GitHub API interaction (avatar lookup), database connections, user modeling, and email sending. It is a setuptools-based pure Python package. %package help Summary: Development documents and examples for %{pypi_name} Requires: python3-%{pypi_name} %description help Development documents and examples for %{pypi_name}. %prep %autosetup -n %{name}-%{version} -p1 %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE %{python3_sitelib}/pythonlibs/ %{python3_sitelib}/pythonlibs-*.egg-info/ %files help %license LICENSE %doc README.md %changelog * Mon Sep 28 2026 Python_Bot - 0.01-2 - Fix %files egg-info glob to match setuptools PEP 440 version normalization (0.01 -> 0.1) * Mon Sep 28 2026 Python_Bot - 0.01-1 - Initial package