Group :: Development/Python3
RPM: python3-module-jaraco.itertools
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name jaraco.itertools
%define ns_name jaraco
%define mod_name itertools
%def_with check
Name: python3-module-%pypi_name
Version: 6.4.1
Release: alt1
Summary: Tools to supplement packaging Python releases
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/jaraco.itertools/
Vcs: https://github.com/jaraco/jaraco.itertools
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
%pyproject_runtimedeps_metadata
%py3_provides %pypi_name
# mapping from PyPI name
Provides: python3-module-%{pep503_name %pypi_name} = %EVR
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
%pyproject_builddeps_metadata_extra testing
%endif
%description
%summary
%prep
%setup
%pyproject_scm_init
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest -ra -Wignore
%files
%dir %python3_sitelibdir/%ns_name/
%python3_sitelibdir/%ns_name/%mod_name.py
%dir %python3_sitelibdir/%ns_name/__pycache__/
%python3_sitelibdir/%ns_name/__pycache__/%mod_name.*
%python3_sitelibdir/%pypi_name-%version.dist-info/
%changelog
…
Todas as alterações você pod ver aqui
%define pypi_name jaraco.itertools
%define ns_name jaraco
%define mod_name itertools
%def_with check
Name: python3-module-%pypi_name
Version: 6.4.1
Release: alt1
Summary: Tools to supplement packaging Python releases
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/jaraco.itertools/
Vcs: https://github.com/jaraco/jaraco.itertools
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
%pyproject_runtimedeps_metadata
%py3_provides %pypi_name
# mapping from PyPI name
Provides: python3-module-%{pep503_name %pypi_name} = %EVR
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
%pyproject_builddeps_metadata_extra testing
%endif
%description
%summary
%prep
%setup
%pyproject_scm_init
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest -ra -Wignore
%files
%dir %python3_sitelibdir/%ns_name/
%python3_sitelibdir/%ns_name/%mod_name.py
%dir %python3_sitelibdir/%ns_name/__pycache__/
%python3_sitelibdir/%ns_name/__pycache__/%mod_name.*
%python3_sitelibdir/%pypi_name-%version.dist-info/
%changelog
…
Todas as alterações você pod ver aqui