diff --git a/python-safety-schemas.spec b/python-safety-schemas.spec new file mode 100644 index 0000000000000000000000000000000000000000..93b202b21a9d02cd2682d7e1199dfa920974ab45 --- /dev/null +++ b/python-safety-schemas.spec @@ -0,0 +1,59 @@ +%global pypi_name safety-schemas + +Name: python-%{pypi_name} +Version: 0.0.8 +Release: 1 +Summary: Schemas for Safety tools + +License: MIT +URL: https://github.com/pyupio/safety_schemas +Source0: https://files.pythonhosted.org/packages/1a/32/74f9ae388e986cc330819340676f943b4f3edfbbedd588e753a6e8685347/safety_schemas-0.0.8.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling +# for test +BuildRequires: python3-pytest +BuildRequires: python3-pydantic +BuildRequires: python3-dparse +BuildRequires: python3-deepdiff + + +%description +Schemas for Safety tools + + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +Schemas for Safety tools + +%prep +%autosetup -n safety_schemas-%{version} -p1 + +%build +%pyproject_build + +%install +%pyproject_install + +%check +%pytest + + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/safety_schemas +%{python3_sitelib}/safety_schemas-*.dist-info + + +%changelog +* Fri Dec 13 2024 Dongxing Wang - 0.0.8-1 +- Initial package. diff --git a/safety_schemas-0.0.8.tar.gz b/safety_schemas-0.0.8.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..81d10c5ec45d30a1701704a5198788c09249ff7f Binary files /dev/null and b/safety_schemas-0.0.8.tar.gz differ