diff --git a/.gitignore b/.gitignore index a62dd30..911db45 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,10 @@ /yamllint-1.27.1.tar.gz /yamllint-1.28.0.tar.gz /yamllint-1.29.0.tar.gz +/yamllint-1.30.0.tar.gz +/yamllint-1.31.0.tar.gz +/yamllint-1.32.0.tar.gz +/yamllint-1.33.0.tar.gz +/yamllint-1.34.0.tar.gz +/yamllint-1.35.0.tar.gz +/yamllint-1.35.1.tar.gz diff --git a/sources b/sources index 4c532ec..7875a8f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (yamllint-1.29.0.tar.gz) = 25c8b1db12c1955878a368433634277a75c2fbde14b041022f591ff7d71b975b509e24b6755c98fa086d3a3a5adf1560ef62f86f9f9e4798d6ca5a0fb50e9e52 +SHA512 (yamllint-1.35.1.tar.gz) = c174b217da5b1efa56651a29fc92f91699c15d6c3c27f6cd4bd71ea8d55f59748b3006ed73678fa1b635b6d092230d8d5cd56b4bb63894931e7357a2c4f84a98 diff --git a/yamllint.spec b/yamllint.spec index a87b499..f8b2e23 100644 --- a/yamllint.spec +++ b/yamllint.spec @@ -3,8 +3,8 @@ %global pypi_name yamllint Name: %{pypi_name} -Version: 1.29.0 -Release: 2%{?dist} +Version: 1.35.1 +Release: 1%{?dist} Summary: A linter for YAML files License: GPLv3+ @@ -18,6 +18,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-pathspec BuildRequires: python3-PyYAML BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme %description A linter for YAML files. @@ -26,13 +27,16 @@ 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} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build -%py3_build +%pyproject_wheel %{__make} SPHINXBUILD=/usr/bin/sphinx-build-3 -C docs man gzip docs/_build/man/%{pypi_name}.1 @@ -40,13 +44,13 @@ gzip docs/_build/man/%{pypi_name}.1 %install # Must do the subpackages' install first because the scripts in /usr/bin are # overwritten with every setup.py install. -%py3_install +%pyproject_install mkdir -p %{buildroot}%{_mandir}/man1/ install -m0644 docs/_build/man/%{pypi_name}.1.gz %{buildroot}%{_mandir}/man1/ %check -%{__python3} setup.py test +%{__python3} -m unittest discover %files %doc README.rst @@ -58,6 +62,30 @@ install -m0644 docs/_build/man/%{pypi_name}.1.gz %{buildroot}%{_mandir}/man1/ %exclude %{python3_sitelib}/tests %changelog +* Fri Feb 16 2024 Adrien Vergé - 1.35.1-1 +- Update to latest upstream version + +* Thu Feb 15 2024 Adrien Vergé - 1.35.0-1 +- Update to latest upstream version + +* Tue Feb 06 2024 Adrien Vergé - 1.34.0-1 +- Update to latest upstream version + +* Thu Nov 09 2023 Adrien Vergé - 1.33.0-1 +- Update to latest upstream version + +* Mon May 22 2023 Adrien Vergé - 1.32.0-1 +- Update to latest upstream version + +* 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 + +* Wed Mar 22 2023 Adrien Vergé - 1.30.0-1 +- Update to latest upstream version + * Sat Jan 21 2023 Fedora Release Engineering - 1.29.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild