mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
afc41ba5cd
Signed-off-by: Owen-sz <owen@fyralabs.com>
(cherry picked from commit 121598d3ef)
52 lines
1.1 KiB
RPMSpec
52 lines
1.1 KiB
RPMSpec
%global pypi_name yamale
|
|
%global _desc A schema and validator for YAML.
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 6.0.0
|
|
Release: 1%?dist
|
|
Summary: A schema and validator for YAML
|
|
License: MIT
|
|
URL: https://github.com/23andMe/Yamale
|
|
Source0: %{pypi_source}
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pip
|
|
|
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
|
|
|
%description
|
|
%_desc
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
Provides: yamale
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
%_desc
|
|
|
|
%prep
|
|
%autosetup -n yamale-%{version}
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
%pyproject_save_files yamale
|
|
|
|
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
%doc README.md SECURITY.md
|
|
%license LICENSE
|
|
%{_bindir}/yamale
|
|
%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc
|
|
%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc
|
|
%python3_sitelib/yamale-%version.dist-info/*
|
|
|
|
%changelog
|
|
* Fri Oct 24 2025 Owen Zimmerman <owen@fyralabs.com>
|
|
- Initial commit
|