Upgrade package to version 3.1.0

This commit is contained in:
wu-leilei 2023-04-21 10:17:09 +08:00
parent b38fbc5931
commit 7f5dc14a91
3 changed files with 12 additions and 2 deletions

Binary file not shown.

BIN
tldr-3.1.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,5 +1,5 @@
Name: tldr
Version: 1.2.1
Version: 3.1.0
Release: 1
Summary: Simplified and community-driven man pages
@ -14,6 +14,9 @@ BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-six
BuildRequires: python3-termcolor
BuildRequires: python3-sphinx
BuildRequires: python3-sphinx-argparse
BuildRequires: python3-shtab
# dependencies for %%check
BuildRequires: python3-argcomplete
BuildRequires: python3-pytest
@ -34,6 +37,9 @@ man pages http://tldr-pages.github.io/.
rm -rf %{name}.egg-info
%build
pushd docs
make man
popd
%py3_build
%install
@ -46,10 +52,14 @@ pytest -k "not test_error_message"
%license LICENSE.md
%doc CHANGELOG.md README.md
%{_bindir}/%{name}
%{_mandir}/man1/tldr.1*
%{python3_sitelib}/%{name}.py
%{python3_sitelib}/__pycache__/*.pyc
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
%changelog
* Fri Apr 21 2023 wulei <wu_lei@hoperun.com> - 3.1.0-1
- Upgrade package to version 3.1.0
* Thu Jun 24 2021 wulei <wulei80@huawei.com> - 1.2.1-1
- Initial package.
- Initial package.