diff --git a/.gitignore b/.gitignore index da31588..42daba6 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /yamllint-1.28.0.tar.gz /yamllint-1.29.0.tar.gz /yamllint-1.30.0.tar.gz +/yamllint-1.31.0.tar.gz diff --git a/sources b/sources index a13bdcd..5f4f69d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (yamllint-1.30.0.tar.gz) = 1db2c7133d7ce279a84d326684284e674f972cb820528201546cb3ab85309ab4baa4e1df7aca0529217a2a0b0d499158fd406be4263470ec9936326f844dc266 +SHA512 (yamllint-1.31.0.tar.gz) = 123c1415dcc53da8b0f34da7d254fe70192b8f2536b0ff40517817d936264607c74f5770fc0bad72ed708b57f61a10da99d3416ee233207f4be0902280575889 diff --git a/yamllint.spec b/yamllint.spec index 22c426a..7aa8c52 100644 --- a/yamllint.spec +++ b/yamllint.spec @@ -2,8 +2,8 @@ %global pypi_name yamllint Name: %{pypi_name} -Version: 1.30.0 -Release: 2%{?dist} +Version: 1.31.0 +Release: 1%{?dist} Summary: A linter for YAML files License: GPLv3+ @@ -28,18 +28,21 @@ yamllint does not only check for syntax validity, but for weirdnesses like key repetition and cosmetic problems such as lines length, trailing spaces, indentation, etc. +%generate_buildrequires +%pyproject_buildrequires + %prep %autosetup -n %{pypi_name}-%{version} -p1 # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build -%py3_build +%pyproject_wheel %install # Must do the subpackages' install first because the scripts in /usr/bin are # overwritten with every setup.py install. -%py3_install +%pyproject_install %check %{__python3} -m unittest discover @@ -53,6 +56,9 @@ rm -rf %{pypi_name}.egg-info %exclude %{python3_sitelib}/tests %changelog +* Fri Apr 21 2023 Adrien Vergé - 1.31.0-1 +- Update to latest upstream version + * Fri Apr 14 2023 Adrien Vergé - 1.30.0-2 - Update 'check' step to stop using setup.py