Compare commits

...
Sign in to create a new pull request.

9 commits

Author SHA1 Message Date
Adrien Vergé
a92129eda0 Update to latest upstream version 2024-02-16 11:52:05 +01:00
Adrien Vergé
4181170cab Add BuildRequires: python3-sphinx_rtd_theme 2024-02-15 10:10:30 +01:00
Adrien Vergé
f3a3a2d63e Update to latest upstream version 2024-02-15 10:02:08 +01:00
Adrien Vergé
fcb0dcac9b Update to latest upstream version 2024-02-06 10:09:41 +01:00
Adrien Vergé
d54862d01f Update to latest upstream version 2023-11-09 10:38:22 +01:00
Adrien Vergé
f6bf282923 Update to latest upstream version 2023-05-22 18:09:50 +02:00
Adrien Vergé
6b985d4c53 Update to latest upstream version 2023-04-21 14:34:34 +02:00
Adrien Vergé
23fc69ae2c Update 'check' step to stop using setup.py 2023-04-14 13:18:11 +02:00
Adrien Vergé
832275c011 Update to latest upstream version 2023-03-22 12:20:20 +01:00
3 changed files with 41 additions and 6 deletions

7
.gitignore vendored
View file

@ -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

View file

@ -1 +1 @@
SHA512 (yamllint-1.29.0.tar.gz) = 25c8b1db12c1955878a368433634277a75c2fbde14b041022f591ff7d71b975b509e24b6755c98fa086d3a3a5adf1560ef62f86f9f9e4798d6ca5a0fb50e9e52
SHA512 (yamllint-1.35.1.tar.gz) = c174b217da5b1efa56651a29fc92f91699c15d6c3c27f6cd4bd71ea8d55f59748b3006ed73678fa1b635b6d092230d8d5cd56b4bb63894931e7357a2c4f84a98

View file

@ -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é <adrienverge@gmail.com> - 1.35.1-1
- Update to latest upstream version
* Thu Feb 15 2024 Adrien Vergé <adrienverge@gmail.com> - 1.35.0-1
- Update to latest upstream version
* Tue Feb 06 2024 Adrien Vergé <adrienverge@gmail.com> - 1.34.0-1
- Update to latest upstream version
* Thu Nov 09 2023 Adrien Vergé <adrienverge@gmail.com> - 1.33.0-1
- Update to latest upstream version
* Mon May 22 2023 Adrien Vergé <adrienverge@gmail.com> - 1.32.0-1
- Update to latest upstream version
* 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
- Update 'check' step to stop using setup.py
* Wed Mar 22 2023 Adrien Vergé <adrienverge@gmail.com> - 1.30.0-1
- Update to latest upstream version
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.29.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild