Files
demus da22d5396e
Build and provide rpm of python3-pygelf-rpm / rpmbuild (release) Successful in 49s
First packaging
2025-04-02 00:14:05 +02:00

55 lines
1.0 KiB
RPMSpec

Name: python-pygelf
Version: 0.4.2
Release: %autorelease
Summary: Logging handlers with GELF support
License: MIT
URL: https://github.com/keeprocking/pygelf
Source: %{pypi_source pygelf}
BuildArch: noarch
BuildRequires: python3-devel
# Fill in the actual package description to submit package to Fedora
%global _description %{expand:
Python logging handlers with GELF (Graylog Extended Log Format) support.
Currently TCP, UDP, TLS (encrypted TCP) and HTTP logging handlers are supported.}
%description %_description
%package -n python3-pygelf
Summary: %{summary}
%description -n python3-pygelf %_description
%prep
%autosetup -p1 -n pygelf-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
# Add top-level Python module names here as arguments, you can use globs
%pyproject_save_files pygelf
%check
%pyproject_check_import
%files -n python3-pygelf -f %{pyproject_files}
%changelog
%autochangelog