!4 Update package confget of version 4.1.0
From: @A_L_I_E_Z Reviewed-by: @huangtianhua Signed-off-by: @huangtianhua
This commit is contained in:
commit
36fcd5f352
Binary file not shown.
BIN
confget-4.1.0.tar.gz
Normal file
BIN
confget-4.1.0.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-confget
|
Name: python-confget
|
||||||
Version: 2.3.4
|
Version: 4.1.0
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Parse configuration files and extract values from them
|
Summary: Parse configuration files and extract values from them
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://devel.ringlet.net/textproc/confget/
|
URL: https://devel.ringlet.net/textproc/confget/
|
||||||
Source0: https://files.pythonhosted.org/packages/50/a9/2032605e306bd38b4421b716a4a1296b84171f15a89fc21b711fe54b92a3/confget-2.3.4.tar.gz
|
Source0: https://files.pythonhosted.org/packages/5a/f0/2d1c99929fe65191b97725dd995ebc2686c2fdfdf64a6054adccdbedef43/confget-4.1.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
confget parse configuration files The confget library parses configuration files
|
confget parse configuration files The confget library parses configuration files
|
||||||
@ -25,9 +25,14 @@ BuildRequires: python3-setuptools
|
|||||||
BuildRequires: python3-pbr
|
BuildRequires: python3-pbr
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel
|
||||||
|
# General requires
|
||||||
BuildRequires: python3-six
|
BuildRequires: python3-six
|
||||||
|
BuildRequires: python3-configparser
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-ddt
|
BuildRequires: python3-ddt
|
||||||
|
# General requires
|
||||||
|
Requires: python3-six
|
||||||
|
Requires: python3-configparser
|
||||||
%description -n python3-confget
|
%description -n python3-confget
|
||||||
confget parse configuration files The confget library parses configuration files
|
confget parse configuration files The confget library parses configuration files
|
||||||
(currently INI-style files and CGI QUERY_STRING environment variable) and allows
|
(currently INI-style files and CGI QUERY_STRING environment variable) and allows
|
||||||
@ -50,14 +55,14 @@ line tool with the same interface as the C implementation.The confget library is
|
|||||||
fully typed.Specifying configuration values for the backends The confget.
|
fully typed.Specifying configuration values for the backends The confget.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n confget-2.3.4 -p1
|
%autosetup -n confget-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
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
|
||||||
@ -90,11 +95,13 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%files -n python3-confget -f filelist.lst
|
%files -n python3-confget -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 27 2022 OpenStack_SIG <openstack@openeuler.org> - 4.1.0-1
|
||||||
|
- Upgrade package python3-confget to version 4.1.0
|
||||||
|
|
||||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.3.4-3
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.3.4-3
|
||||||
- DESC: delete -S git from %autosetup
|
- DESC: delete -S git from %autosetup
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user