diff --git a/tldr-1.2.1.tar.gz b/tldr-1.2.1.tar.gz deleted file mode 100644 index bbc753e0d3bb06bedf9b88b76d0addf74e48a209..0000000000000000000000000000000000000000 Binary files a/tldr-1.2.1.tar.gz and /dev/null differ diff --git a/tldr-3.1.0.tar.gz b/tldr-3.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0b5cfcbf08d448139e2aef5e80d818e6fb4f528c Binary files /dev/null and b/tldr-3.1.0.tar.gz differ diff --git a/tldr.spec b/tldr.spec index a973b64f3f2ac073aba45fbb5d9c82f49e71aa4e..30a6459391fdb76f9c5fb384c013892d866d6178 100644 --- a/tldr.spec +++ b/tldr.spec @@ -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 - 3.1.0-1 +- Upgrade package to version 3.1.0 + * Thu Jun 24 2021 wulei - 1.2.1-1 -- Initial package. \ No newline at end of file +- Initial package.