!8 Upgrade to 3.1.0

From: @wu-leilei 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-04-25 02:14:37 +00:00 committed by Gitee
commit 4d8c47cf6a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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.