%global _empty_manifest_terminate_build 0
%global pypi_name pre-commit-hooks
%global srcname pre_commit_hooks
%global _description %{expand:
Some out-of-the-box hooks for pre-commit.}
Name: python-%{pypi_name}
Version: 6.0.0
Release: 1
Summary: Some out-of-the-box hooks for pre-commit.
License: MIT
URL: https://github.com/pre-commit/pre-commit-hooks
Source0: https://files.pythonhosted.org/packages/36/4d/93e63e48f8fd16d6c1e4cef5dabadcade4d1325c7fd6f29f075a4d2284f3/pre-commit-hooks-6.0.0.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
%description %_description
%package -n python3-%{pypi_name}
Summary: Some out-of-the-box hooks for pre-commit.
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name} %_description
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%doc README.md
%{_bindir}/*
%{python3_sitelib}/*
%license LICENSE
%changelog
* Wed Sep 17 2025 lvfei <lvfei@kylinos.cn> - 6.0.0-1
- Update package with version 6.0.0
heck-shebang-scripts-are-executable improve error message
file-contents-sorter: disallow --unique and --ignore-case at the sametime
* Mon Nov 25 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 5.0.0-1
- Update package with version 5.0.0
check-illegal-windows-names: new hook!
pretty-format-json: continue processing even if a file has a json error.
requirements-txt-fixer: remove duplicate packages.
* Thu Feb 22 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 4.5.0-1
- Update package to version 4.5.0
Fix blank lines in file-contents-sorter plugin
* Wed Aug 23 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 4.4.0-1
- Package init