update version to 1.5.5

This commit is contained in:
lingjuer 2023-07-03 17:14:35 +08:00
parent 70817a93ed
commit 167488f21d
3 changed files with 9 additions and 5 deletions

Binary file not shown.

BIN
ConfigArgParse-1.5.5.tar.gz Normal file

Binary file not shown.

View File

@ -1,15 +1,13 @@
%global _empty_manifest_terminate_build 0
Name: python-ConfigArgParse
Version: 1.5.3
Version: 1.5.5
Release: 1
Summary: A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.
License: MIT
URL: https://github.com/bw2/ConfigArgParse
Source0: https://files.pythonhosted.org/packages/16/05/385451bc8d20a3aa1d8934b32bd65847c100849ebba397dbf6c74566b237/ConfigArgParse-1.5.3.tar.gz
Source0: https://files.pythonhosted.org/packages/3c/fb/bf200c55a1e7014577c37fa9cbfa0148f629762bb3acff56299d8c58cbc3/ConfigArgParse-1.5.5.tar.gz
BuildArch: noarch
Requires: python3-PyYAML
%description
This module is an extension of argparse module and adds support for config
files and environment variables. Using this module, applications can be
@ -18,7 +16,7 @@ hard-coded defaults and environment variables.
%package -n python3-ConfigArgParse
Summary: A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.
Provides: python-ConfigArgParse
Provides: python-ConfigArgParse = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-ConfigArgParse
@ -49,6 +47,9 @@ if [ -d doc ]; then cp -arf doc %{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 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}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
@ -77,6 +78,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Mon Jul 03 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 1.5.5-1
- Update package to version 1.5.5
* Sat Sep 24 2022 guozhengxin <guozhengxin@kylinos.cn> - 1.5.3-1
- Upgrade package to version 1.5.3