%global __python3 /usr/bin/python3.11 %global python3_pkgversion 3.11 # Created by pyp2rpm-3.3.3 %global pypi_name pulp-ostree %{?python_disable_dependency_generator} %global release 1 Name: python-%{pypi_name} Version: 2.3.0 Release: %{?prereleaserpm:0.}%{release}%{?prereleaserpm}%{?dist} Summary: Ostree plugin for the Pulp Project License: GPLv2+ URL: https://pulpproject.org/ Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}%{?prerelease}.tar.gz BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools %description A Pulp plugin to support hosting ostree repositories. %package -n python%{python3_pkgversion}-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} Requires: python%{python3_pkgversion}-pulpcore >= 3.45.1 Requires: python%{python3_pkgversion}-pulpcore < 3.55 Requires: python%{python3_pkgversion}-setuptools %if 0%{?rhel} == 9 && "%{?python3_pkgversion}" != "3.11" Requires: python%{python3_pkgversion}-gobject >= 3.40.1 Requires: python%{python3_pkgversion}-gobject < 3.41 %else Requires: python%{python3_pkgversion}-pygobject >= 1:3.40.1 Requires: python%{python3_pkgversion}-pygobject < 1:3.41 %endif Requires: ostree Provides: pulpcore-plugin(ostree) = %{version} Obsoletes: python3-%{pypi_name} < %{version}-%{release} %if 0%{?rhel} == 8 Obsoletes: python39-%{pypi_name} < %{version}-%{release} %endif %description -n python%{python3_pkgversion}-%{pypi_name} A Pulp plugin to support hosting ostree repositories. %prep set -ex %autosetup -n %{pypi_name}-%{version}%{?prerelease} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build set -ex %py3_build %install set -ex %py3_install %files -n python%{python3_pkgversion}-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/pulp_ostree %{python3_sitelib}/pulp_ostree-%{version}-py%{python3_version}.egg-info %changelog * Tue Mar 26 2024 Odilon Sousa - 2.3.0-1 - Release python-pulp-ostree 2.3.0 * Tue Jan 16 2024 Odilon Sousa - 2.1.3-4 - Remove SCL bits * Fri Nov 17 2023 Odilon Sousa - 2.1.3-3 - Obsolete python39 packages for a smooth upgrade * Thu Nov 16 2023 Patrick Creech - 2.1.3-2 - Use pygobject dependency if we aren't using system python * Tue Nov 14 2023 Odilon Sousa - 2.1.3-1 - Release python-pulp-ostree 2.1.3 * Fri Aug 11 2023 Odilon Sousa - 2.1.1-1 - Release python-pulp-ostree 2.1.1 * Tue Sep 27 2022 Odilon Sousa - 2.0.0-0.8.a6 - Release python-pulp-ostree 2.0.0a6 * Fri Jun 17 2022 Evgeni Golov - 2.0.0-0.7.a5 - Obsolete the old Python 3.8 package for smooth upgrade * Mon May 30 2022 Odilon Sousa - 2.0.0-0.6.a5 - Removing EPOCH requirement on EL9 * Wed Apr 27 2022 Odilon Sousa - 2.0.0-0.5.a5 - Release python-pulp-ostree 2.0.0a5 * Fri Apr 22 2022 Yanis Guenane - 2.0.0-0.4.a4 - Build against python 3.9 * Thu Jan 27 2022 Evgeni Golov - 2.0.0-0.3.a4 - Update pygobject dependency to include epoch * Mon Jan 17 2022 Justin Sherrill 2.0.0-0.2.a4 - update to 2.0.0a4 * Thu Dec 02 2021 Justin Sherrill 2.0.0-0.2.a2 - fix pygobject requires * Wed Oct 20 2021 Justin Sherrill 2.0.0-0.1.a2 - initial build