Group :: Development/Python3
RPM: python3-module-wurlitzer
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define pypi_name wurlitzer
%def_with check
Name: python3-module-%pypi_name
Version: 3.0.3
Release: alt1
Summary: Capture C-level stdout/stderr in Python
License: MIT
Group: Development/Python3
URL: https://github.com/minrk/wurlitzer
Packager: Grigory Ustinov <grenka at altlinux.org>
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%if_with check
BuildRequires: /proc
BuildRequires: python3-module-pytest
%endif
BuildArch: noarch
Source: %name-%version.tar
%description
%summary
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
py.test-3 test.py
%files
%doc LICENSE *.md
%python3_sitelibdir/%pypi_name.py
%python3_sitelibdir/__pycache__
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%changelog
…
Todas as alterações você pod ver aqui
%def_with check
Name: python3-module-%pypi_name
Version: 3.0.3
Release: alt1
Summary: Capture C-level stdout/stderr in Python
License: MIT
Group: Development/Python3
URL: https://github.com/minrk/wurlitzer
Packager: Grigory Ustinov <grenka at altlinux.org>
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%if_with check
BuildRequires: /proc
BuildRequires: python3-module-pytest
%endif
BuildArch: noarch
Source: %name-%version.tar
%description
%summary
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
py.test-3 test.py
%files
%doc LICENSE *.md
%python3_sitelibdir/%pypi_name.py
%python3_sitelibdir/__pycache__
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%changelog
…
Todas as alterações você pod ver aqui