diff --git a/lazr.config-2.2.3.tar.gz b/lazr.config-2.2.3.tar.gz deleted file mode 100644 index e726b24..0000000 Binary files a/lazr.config-2.2.3.tar.gz and /dev/null differ diff --git a/lazr.config-3.0.tar.gz b/lazr.config-3.0.tar.gz new file mode 100644 index 0000000..f4f5c88 Binary files /dev/null and b/lazr.config-3.0.tar.gz differ diff --git a/python-lazr.config.spec b/python-lazr.config.spec index ea64154..f61f64d 100644 --- a/python-lazr.config.spec +++ b/python-lazr.config.spec @@ -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 - 3.0-1 +- Update package to version 3.0 + * Tue Aug 30 2022 liqiuyu - 2.2.3-1 - update to 2.2.3 * Thu Dec 17 2020 Python_Bot -- Package Spec generated \ No newline at end of file +- Package Spec generated