diff --git a/ZConfig-3.2.0.tar.gz b/ZConfig-3.2.0.tar.gz deleted file mode 100644 index 0296a45..0000000 --- a/ZConfig-3.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:de0a802e5dfea3c0b3497ccdbe33a5023c4265f950f33e35dd4cf078d2a81b19 -size 115162 diff --git a/ZConfig-3.4.0.tar.gz b/ZConfig-3.4.0.tar.gz new file mode 100644 index 0000000..8c5e68a --- /dev/null +++ b/ZConfig-3.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:560f779c7dcca0593083cbdb3fac9bfc7974cd5061363e2254844192e5644998 +size 121009 diff --git a/python-ZConfig.changes b/python-ZConfig.changes index 11433c2..7762ca0 100644 --- a/python-ZConfig.changes +++ b/python-ZConfig.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Mar 4 12:24:46 UTC 2019 - Tomáš Chvátal + +- Update to 3.4.0: + * Many changes have been made in the support for logging configurations + * Drop support for Python 3.3. + * Add support for Python 3.7. + * Drop support for 'python setup.py test'. See issue 38. + * Add support for example in section and multisection, and include those examples in generated documentation. See https://github.com/zopefoundation/ZConfig/pull/5. + * Fix configuration loaders to decode byte data using UTF-8 instead of the default encoding (usually ASCII). See issue 37. + ------------------------------------------------------------------- Fri Jun 23 13:35:29 UTC 2017 - aloisio@gmx.com diff --git a/python-ZConfig.spec b/python-ZConfig.spec index 5d6e978..924b2ec 100644 --- a/python-ZConfig.spec +++ b/python-ZConfig.spec @@ -1,7 +1,7 @@ # # spec file for package python-ZConfig # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,29 +12,28 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ZConfig -Version: 3.2.0 +Version: 3.4.0 Release: 0 Summary: Structured Configuration Library License: ZPL-2.1 Group: Development/Libraries/Python -Url: https://github.com/zopefoundation/ZConfig +URL: https://github.com/zopefoundation/ZConfig Source: https://files.pythonhosted.org/packages/source/Z/ZConfig/ZConfig-%{version}.tar.gz -BuildRequires: %{python_module setuptools} # Testing requirements: BuildRequires: %{python_module docutils} BuildRequires: %{python_module manuel} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module zope.testrunner} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(postun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -66,18 +65,21 @@ This package contains documentation files for %{name}. %setup -q -n ZConfig-%{version} rm -rf ZConfig.egg-info rm doc/make.bat +# test works only in git repo +rm -f ZConfig/tests/test_readme.py %build %python_build %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/zconfig %python_clone -a %{buildroot}%{_bindir}/zconfig_schema2html %check -%python_exec setup.py test -v +export LANG=en_US.UTF8 +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} zope-testrunner-%{$python_bin_suffix} --test-path=. %post %python_install_alternative zconfig zconfig_schema2html @@ -86,14 +88,13 @@ rm doc/make.bat %python_uninstall_alternative zconfig %files %{python_files} -%defattr(-,root,root) -%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt PKG-INFO README.rst +%license LICENSE.txt +%doc CHANGES.rst COPYRIGHT.txt PKG-INFO README.rst %python_alternative %{_bindir}/zconfig %python_alternative %{_bindir}/zconfig_schema2html %{python_sitelib}/* %files %{python_files doc} -%defattr(-,root,root,-) %doc doc/ %changelog