!3 Upgrade to latest release [python-lazr.config -> 3.0]

From: @wubijie123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-04-12 09:55:27 +00:00 committed by Gitee
commit bd8dc7aed7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 19 additions and 5 deletions

Binary file not shown.

BIN
lazr.config-3.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-lazr.config Name: python-lazr.config
Version: 2.2.3 Version: 3.0
Release: 1 Release: 1
Summary: Create configuration schemas, and process and validate configurations. Summary: Create configuration schemas, and process and validate configurations.
License: LGPL v3 License: LGPL v3
URL: https://pypi.org/project/lazr.config URL: https://pypi.org/project/lazr.config
Source0: https://files.pythonhosted.org/packages/cd/33/0095b8fd0879ad9b80f3e3d30655c309a0319ce34df3c984ac316bce1ea5/lazr.config-2.2.3.tar.gz Source0: https://files.pythonhosted.org/packages/ac/53/7b09f9feed3bf68b8b6827d44aaab8143e3aa9e26680b9501433d59474c4/lazr.config-3.0.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
@ -19,9 +19,11 @@ files. The format supports schema validation.
%package -n python3-lazr.config %package -n python3-lazr.config
Summary: Create configuration schemas, and process and validate configurations. Summary: Create configuration schemas, and process and validate configurations.
Provides: python-lazr.config Provides: python-lazr.config = %{version}-%{release}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
Requires: python3-setuptools
%description -n python3-lazr.config %description -n python3-lazr.config
The LAZR config system is typically used to manage process configuration. The LAZR config system is typically used to manage process configuration.
Process configuration is for saying how things change when we run systems on Process configuration is for saying how things change when we run systems on
@ -35,7 +37,13 @@ files. The format supports schema validation.
Summary: Development documents and examples for lazr.config Summary: Development documents and examples for lazr.config
Provides: python3-lazr.config-doc Provides: python3-lazr.config-doc
%description help %description help
Development documents and examples for lazr.config. The LAZR config system is typically used to manage process configuration.
Process configuration is for saying how things change when we run systems on
different machines, or under different circumstances.
This system uses ini-like file format of section, keys, and values. The
config file supports inheritance to minimize duplication of information across
files. The format supports schema validation.
%prep %prep
%autosetup -n lazr.config-%{version} %autosetup -n lazr.config-%{version}
@ -50,6 +58,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
@ -78,6 +89,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Wed Apr 12 2023 wubijie <wubijie@kylinos.cn> - 3.0-1
- Update package to version 3.0
* Tue Aug 30 2022 liqiuyu <liqiuyu@kylinos.cn> - 2.2.3-1 * Tue Aug 30 2022 liqiuyu <liqiuyu@kylinos.cn> - 2.2.3-1
- update to 2.2.3 - update to 2.2.3