First packaging
Build and provide rpm of python3-pygelf-rpm / rpmbuild (release) Successful in 49s

This commit is contained in:
2025-04-02 00:14:05 +02:00
parent 650a7cefe1
commit da22d5396e
2 changed files with 65 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
archful = false
archive_name = "pygelf-0.4.2.tar.gz"
extras = []
license = "MIT"
license_files_present = false
pypi_name = "pygelf"
pypi_version = "0.4.2"
python_name = "python-pygelf"
source = "PyPI"
summary = "Logging handlers with GELF support"
url = "https://github.com/keeprocking/pygelf"
+54
View File
@@ -0,0 +1,54 @@
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