update version to 3.0

This commit is contained in:
wubijie 2023-04-12 13:11:34 +08:00
parent a6114b91a1
commit 5ed63e4a7d
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
Name: python-lazr.config
Version: 2.2.3
Version: 3.0
Release: 1
Summary: Create configuration schemas, and process and validate configurations.
License: LGPL v3
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
%description
@ -19,9 +19,11 @@ files. The format supports schema validation.
%package -n python3-lazr.config
Summary: Create configuration schemas, and process and validate configurations.
Provides: python-lazr.config
Provides: python-lazr.config = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-setuptools
%description -n python3-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
@ -35,7 +37,13 @@ files. The format supports schema validation.
Summary: Development documents and examples for lazr.config
Provides: python3-lazr.config-doc
%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
%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 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
@ -78,8 +89,11 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%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
- update to 2.2.3
* Thu Dec 17 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated
- Package Spec generated