|
|
@ -2,8 +2,8 @@
|
|
|
|
%global pypi_name yamllint
|
|
|
|
%global pypi_name yamllint
|
|
|
|
|
|
|
|
|
|
|
|
Name: %{pypi_name}
|
|
|
|
Name: %{pypi_name}
|
|
|
|
Version: 1.30.0
|
|
|
|
Version: 1.31.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A linter for YAML files
|
|
|
|
Summary: A linter for YAML files
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv3+
|
|
|
|
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,
|
|
|
|
repetition and cosmetic problems such as lines length, trailing spaces,
|
|
|
|
indentation, etc.
|
|
|
|
indentation, etc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{pypi_name}-%{version} -p1
|
|
|
|
%autosetup -n %{pypi_name}-%{version} -p1
|
|
|
|
# Remove bundled egg-info
|
|
|
|
# Remove bundled egg-info
|
|
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
# Must do the subpackages' install first because the scripts in /usr/bin are
|
|
|
|
# Must do the subpackages' install first because the scripts in /usr/bin are
|
|
|
|
# overwritten with every setup.py install.
|
|
|
|
# overwritten with every setup.py install.
|
|
|
|
%py3_install
|
|
|
|
%pyproject_install
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%{__python3} -m unittest discover
|
|
|
|
%{__python3} -m unittest discover
|
|
|
@ -53,6 +56,9 @@ rm -rf %{pypi_name}.egg-info
|
|
|
|
%exclude %{python3_sitelib}/tests
|
|
|
|
%exclude %{python3_sitelib}/tests
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Apr 21 2023 Adrien Vergé <adrienverge@gmail.com> - 1.31.0-1
|
|
|
|
|
|
|
|
- Update to latest upstream version
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 14 2023 Adrien Vergé <adrienverge@gmail.com> - 1.30.0-2
|
|
|
|
* Fri Apr 14 2023 Adrien Vergé <adrienverge@gmail.com> - 1.30.0-2
|
|
|
|
- Update 'check' step to stop using setup.py
|
|
|
|
- Update 'check' step to stop using setup.py
|
|
|
|
|
|
|
|
|
|
|
|