update version to 4.1
This commit is contained in:
parent
c1f32484fd
commit
faa80507f6
BIN
argparse-manpage-4.1.tar.gz
Normal file
BIN
argparse-manpage-4.1.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,16 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
%undefine __brp_mangle_shebangs
|
|
||||||
|
|
||||||
Name: python-argparse-manpage
|
Name: python-argparse-manpage
|
||||||
Version: 4
|
Version: 4.1
|
||||||
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/03/cd/0598f30544d602eeb11cbc0d5c5d09cb48bd805ef884e7c56ff1239db7ce/argparse-manpage-4.tar.gz
|
Source0: https://files.pythonhosted.org/packages/6c/96/b53e86c3479d03f62338ede7430c32ec9b6bf189c83a5008b7d346dc00af/argparse-manpage-4.1.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Automatically build manpage from argparse
|
Automatically build manpage from argparse
|
||||||
|
|
||||||
@ -19,19 +16,17 @@ Summary: Build manual page from python's ArgumentParser object.
|
|||||||
Provides: python-argparse-manpage = %{version}-%{release}
|
Provides: python-argparse-manpage = %{version}-%{release}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
|
||||||
%description -n python3-argparse-manpage
|
%description -n python3-argparse-manpage
|
||||||
Automatically build manpage from argparse
|
Automatically build manpage from argparse
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Development documents and examples for argparse-manpage
|
Summary: Development documents and examples for argparse-manpage
|
||||||
Provides: python3-argparse-manpage-doc
|
Provides: python3-argparse-manpage-doc
|
||||||
|
|
||||||
%description help
|
%description help
|
||||||
Automatically build manpage from argparse
|
Automatically build manpage from argparse
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n argparse-manpage-%{version} -p1
|
%autosetup -n argparse-manpage-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -43,6 +38,9 @@ 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,6 +69,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Tue Nov 01 2022 wangjunqi <wangjunqi@kylinos.cn> - 4-1
|
||||||
- Update package to version 4
|
- Update package to version 4
|
||||||
|
|
||||||
@ -79,4 +80,3 @@ mv %{buildroot}/doclist.lst .
|
|||||||
|
|
||||||
* 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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user