%global pypi_name pyyaml_env_tag Name: python-%{pypi_name} Version: 0.1 Release: 2 Summary: A custom YAML tag for referencing environment variables in YAML files License: MIT URL: https://github.com/waylan/pyyaml-env-tag Source0: https://files.pythonhosted.org/packages/fb/8e/da1c6c58f751b70f8ceb1eb25bc25d524e8f14fe16edcce3f4e3ba08629c/pyyaml_env_tag-0.1.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-editables BuildRequires: python3-hatch-vcs BuildRequires: python3-hatchling BuildRequires: python3-virtualenv #check requirements BuildRequires: python3-flit BuildRequires: python3-pyyaml BuildRequires: python3-pytest %description A custom YAML tag for referencing environment variables in YAML files. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} A custom YAML tag for referencing environment variables in YAML files. %prep %autosetup -n %{pypi_name}-%{version} %build %pyproject_build %install %pyproject_install %check %pytest %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/__pycache__/* %{python3_sitelib}/yaml_env_tag.py %{python3_sitelib}/%{pypi_name}-0.1.dist-info %changelog * Wed Aug 30 2023 luolu12 - 0.1-2 - Add check to pytest. * Tue Jun 20 2023 luolu12 - 0.1-1 - Initial package.