## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global project_name sphinxext-opengraph %global pypi_name sphinxext_opengraph Name: python-%{project_name} Version: 0.7.5 Release: %autorelease Summary: Sphinx extension to generate unique OpenGraph metadata License: BSD URL: https://%{project_name}.readthedocs.io/en/latest/ Source0: https://files.pythonhosted.org/packages/source/s/%{project_name}/%{project_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: %{summary}.} %description %_description %package -n python3-%{project_name} Summary: %{summary} %description -n python3-%{project_name} %_description %prep %autosetup -p1 -n %{project_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 '*' %files -n python3-%{project_name} -f %{pyproject_files} %license LICENSE.md %doc README.md %changelog * Fri Jan 20 2023 Fedora Release Engineering 0.7.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 05 2023 Yaroslav Sidlovsky 0.7.5-1 - version 0.7.5 * Tue Dec 20 2022 Yaroslav Sidlovsky 0.7.4-1 - version 0.7.4 * Mon Nov 28 2022 Yaroslav Sidlovsky 0.7.3-1 - version 0.7.3 * Wed Nov 02 2022 Yaroslav Sidlovsky 0.7.2-1 - version 0.7.2 * Fri Jul 22 2022 Fedora Release Engineering - 0.6.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.6.3-2 - Rebuilt for Python 3.11 * Tue Mar 29 2022 Yaroslav Sidlovsky - 0.6.3-1 - version 0.6.3 * Wed Mar 09 2022 Yaroslav Sidlovsky - 0.6.2-1 - version 0.6.2 * Wed Feb 23 2022 Yaroslav Sidlovsky - 0.6.1-1 - version 0.6.1 * Tue Feb 22 2022 Yaroslav Sidlovsky - 0.6.0-1 - version 0.6.0 * Tue Feb 01 2022 Yaroslav Sidlovsky - 0.5.1-1 - initial spec for version 0.5.1