add: dom_toml (#10538) (#10563)

(cherry picked from commit 33a7892202)

Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2026-03-15 04:29:59 -07:00
committed by GitHub
parent 8b57336dd4
commit 149284bcd5
3 changed files with 53 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "dom_toml.spec"
}
}
+46
View File
@@ -0,0 +1,46 @@
%global pypi_name dom_toml
%global _desc Dom's tools for Tom's Obvious, Minimal Language.
Name: python-%{pypi_name}
Version: 2.3.0
Release: 1%?dist
Summary: Dom's tools for Tom's Obvious, Minimal Language
License: MIT
URL: https://dom-toml.readthedocs.io/en/latest/
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: python3-flit-core
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?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 dom_toml
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.rst
%license LICENSE
%changelog
* Sat Mar 14 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("dom_toml"));