Compare commits

..

No commits in common. "e8574c5c130b291bcf2fe6cad361b6e4832a2218" and "ae504bef6f0a6fcc3e83f77b339415a32c76f353" have entirely different histories.

3 changed files with 6 additions and 25 deletions

BIN
argparse-manpage-1.4.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,23 +1,22 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-argparse-manpage Name: python-argparse-manpage
Version: 4.5 Version: 1.4
Release: 1 Release: 1
Summary: Build manual page from python's ArgumentParser object. Summary: Build manual page from python's ArgumentParser object.
License: Apache-2.0 License: Apache 2.0
URL: https://github.com/praiskup/argparse-manpage URL: https://github.com/praiskup/argparse-manpage
Source0: https://files.pythonhosted.org/packages/fe/0d/8b343214e65ae5e50d3de88706197e2351224b0cc52dde63e621c038d5fa/argparse-manpage-4.5.tar.gz Source0: https://files.pythonhosted.org/packages/4a/36/321928bb01ad13714d92413d8d65bd22494da1b327d1ef23d3b9c468bdf2/argparse-manpage-1.4.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
Automatically build manpage from argparse Automatically build manpage from argparse
%package -n python3-argparse-manpage %package -n python3-argparse-manpage
Summary: Build manual page from python's ArgumentParser object. Summary: Build manual page from python's ArgumentParser object.
Provides: python-argparse-manpage = %{version}-%{release} Provides: python-argparse-manpage
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-tomli
BuildRequires: python3-toml
%description -n python3-argparse-manpage %description -n python3-argparse-manpage
Automatically build manpage from argparse Automatically build manpage from argparse
@ -28,7 +27,7 @@ Provides: python3-argparse-manpage-doc
Automatically build manpage from argparse Automatically build manpage from argparse
%prep %prep
%autosetup -n argparse-manpage-%{version} %autosetup -n argparse-manpage-1.4
%build %build
%py3_build %py3_build
@ -40,9 +39,6 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot} pushd %{buildroot}
if [ -d usr/lib ]; then if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
@ -71,20 +67,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Tue Nov 14 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 4.5-1
- Update package to version 4.5
* Sun Jun 25 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 4.3-1
- Update package to version 4.3
* Fri Apr 28 2023 wubijie <wubijie@kylinos.cn> - 4.1-1
- Update package to version 4.1
* Tue Nov 01 2022 wangjunqi <wangjunqi@kylinos.cn> - 4-1
- Update package to version 4
* Thu Jan 27 2022 SimpleUpdate Robot <tc@openeuler.org> - 2.1
- Upgrade to version 2.1
* Mon Jul 06 2020 Python_Bot <Python_Bot@openeuler.org> * Mon Jul 06 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated - Package Spec generated