File python-pprintpp.spec of Package failed_python-pprintpp

Name:           python-pprintpp
Version:        0.9
Release:        1.1
Summary:        Pretty-printer replacement for pprint

License:        MIT
URL:            https://example.org/python-pprintpp
Source0:        python-pprintpp-%{version}.tar.gz
Patch0:         fix-build.patch

BuildArch:      noarch
BuildRequires:  python3-devel
Requires:       python3

%description
A small replacement for the standard library pprint with nicer output.

%prep
%setup -q
# apply patch 0 (use new %patch invocation syntax)
%patch -p1 -P 0

%build
%py3_build

%install
%py3_install

%files
%license LICENSE
%doc README.md
%{python3_sitelib}/pprintpp.py

%changelog
* Sun Aug 10 2025 Packager <packager@example.org> - 0.9-1.1
- Use updated %patch macro form to be compatible with modern rpmbuild.
openSUSE Build Service is sponsored by