| |
@@ -2,8 +2,8 @@
|
| |
%global pypi_name pre-commit
|
| |
|
| |
Name: %{pypi_name}
|
| |
- Version: 2.11.1
|
| |
- Release: 2%{?dist}
|
| |
+ Version: 2.13.0
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Framework for managing and maintaining multi-language pre-commit hooks
|
| |
|
| |
License: MIT
|
| |
@@ -12,7 +12,7 @@
|
| |
Patch0: 0001-disable-tests-with-network-install.patch
|
| |
BuildArch: noarch
|
| |
|
| |
- BuildRequires: python3-devel >= 3.6.1
|
| |
+ BuildRequires: python3-devel
|
| |
BuildRequires: python3dist(setuptools)
|
| |
|
| |
%if %{with check}
|
| |
@@ -21,9 +21,6 @@
|
| |
BuildRequires: python3dist(cfgv) >= 2.0.0
|
| |
BuildRequires: python3dist(flake8)
|
| |
BuildRequires: python3dist(identify) >= 1.0.0
|
| |
- %if 0%{?fedora} <= 31
|
| |
- BuildRequires: python3dist(importlib-metadata)
|
| |
- %endif
|
| |
BuildRequires: npm
|
| |
BuildRequires: nodejs
|
| |
BuildRequires: rubygems
|
| |
@@ -37,8 +34,6 @@
|
| |
BuildRequires: python3dist(virtualenv) >= 20
|
| |
%endif
|
| |
|
| |
- %?python_enable_dependency_generator
|
| |
-
|
| |
%description
|
| |
A framework for managing and maintaining multi-language pre-commit hooks.
|
| |
|
| |
@@ -68,9 +63,9 @@
|
| |
# Disable few tests
|
| |
# * 'make_archives_test' and 'repository_test' need a network connection, hence disabled.
|
| |
# * 'install_uninstall_test' needs pytest-env (currently not packaged)
|
| |
- %{python3} -m pytest -v \
|
| |
- --deselect tests/make_archives_test.py \
|
| |
- --deselect tests/repository_test.py \
|
| |
+ %pytest -v \
|
| |
+ --deselect tests/make_archives_test.py \
|
| |
+ --deselect tests/repository_test.py \
|
| |
--deselect tests/commands/install_uninstall_test.py
|
| |
%endif
|
| |
|
| |
@@ -86,6 +81,13 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Sat Jul 03 2021 Aniket Pradhan <major AT fedoraproject DOT org> - 2.13.0-1
|
| |
+ - Version update to 2.13.0
|
| |
+ - Remove redundant dependency generator call
|
| |
+ - Use pytest macro
|
| |
+ - Remove unnecessary python-devel version requirement
|
| |
+ - Removed the dependency for Fedora 31 or lower
|
| |
+
|
| |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.11.1-2
|
| |
- Rebuilt for Python 3.10
|
| |
|
| |
Update to v2.13.0 + Some other small fixes