File python-slixmpp.spec of Package failed_python-slixmpp
Name: python-slixmpp
Version: 1.8.0
Release: 1.1
Summary: Slixmpp — an XMPP library for Python
License: MIT
URL: https://slixmpp.readthedocs.io/
Source0: %{name}-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
Requires: python3
%description
Slixmpp is a Python library for building XMPP applications and components.
This package provides the library modules.
%prep
%setup -q
# Modern rpm uses the %patch macro with an argument number; older %patchN macros are obsolete.
# Replace obsolete "%patch0 -p1" with the supported form below.
%patch 0 -p1
%build
%py3_build
%install
%py3_install
%files
%doc README.md
%license LICENSE
%{python3_sitelib}/slixmpp*
%dir %{python3_sitelib}/slixmpp
%changelog
* Sun Aug 10 2025 You <you@example.com> - 1.8.0-1.1
- Adjusted patch macro to modern %patch syntax to avoid rpmbuild warning.