add: log_symbols (#6611) (#6647)

(cherry picked from commit ec9e789b77)

Signed-off-by: Owen <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2025-10-01 20:49:22 -07:00
committed by GitHub
parent 4d19930004
commit a33724b0ba
3 changed files with 57 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "log_symbols.spec"
}
}
@@ -0,0 +1,50 @@
%global pypi_name log_symbols
%global _desc Colored symbols for various log levels for Python.
Name: python-%{pypi_name}
Version: 0.0.14
Release: 1%?dist
Summary: Colored symbols for various log levels for Python
License: MIT
URL: https://github.com/manrajgrover/py-log-symbols
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
Provides: log_symbols
Provides: py-log-symbols
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files log_symbols
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
%license LICENSE
%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc
%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc
%python3_sitelib/log_symbols-%{version}.dist-info/*
%changelog
* Tue Sep 30 2025 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1 @@
rpm.version(pypi("log_symbols"));