Group :: Development/Python3
RPM: python3-module-pip-run
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name pip-run
%def_with check
Name: python3-module-%pypi_name
Version: 10.1.1
Release: alt1
Summary: Install packages and run Python with them
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/pip-run
VCS: https://github.com/jaraco/pip-run.git
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
Patch0: %name-%version-alt.patch
%pyproject_runtimedeps_metadata
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
%add_pyproject_deps_check_filter pytest-ruff
%pyproject_builddeps_metadata_extra testing
%endif
%description
pip-run provides on-demand temporary package installation for a single
interpreter run.
%prep
%setup
%autopatch -p1
%pyproject_scm_init
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest -ra -Wignore
%files
%doc README.rst
%_bindir/pip-run
%python3_sitelibdir/pip-run.py
%python3_sitelibdir/__pycache__/pip-run.*
%python3_sitelibdir/pip_run/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui
%define pypi_name pip-run
%def_with check
Name: python3-module-%pypi_name
Version: 10.1.1
Release: alt1
Summary: Install packages and run Python with them
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/pip-run
VCS: https://github.com/jaraco/pip-run.git
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
Patch0: %name-%version-alt.patch
%pyproject_runtimedeps_metadata
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
%add_pyproject_deps_check_filter pytest-ruff
%pyproject_builddeps_metadata_extra testing
%endif
%description
pip-run provides on-demand temporary package installation for a single
interpreter run.
%prep
%setup
%autopatch -p1
%pyproject_scm_init
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest -ra -Wignore
%files
%doc README.rst
%_bindir/pip-run
%python3_sitelibdir/pip-run.py
%python3_sitelibdir/__pycache__/pip-run.*
%python3_sitelibdir/pip_run/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui