diff --git a/happy_utf8.patch b/happy_utf8.patch deleted file mode 100644 index 25bdcbd..0000000 --- a/happy_utf8.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -13,7 +13,7 @@ with io.open(os.path.join(here, 'require - - def long_description(): - """Load README.rst.""" -- with open('README.rst', 'r') as f: -+ with io.open('README.rst', 'r', encoding="utf-8") as f: - return f.read() - - diff --git a/python-yamlloader.changes b/python-yamlloader.changes index 63c8d90..b0eee25 100644 --- a/python-yamlloader.changes +++ b/python-yamlloader.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Apr 22 20:42:37 UTC 2021 - Dirk Müller + +- update to 1.0.0: + * First stable release. + * Main change is that it returns always an OrderedDict, even for Python >= + 3.7 for consistency +- remove happy_utf8.patch: upstream + ------------------------------------------------------------------- Mon Dec 9 11:10:50 UTC 2019 - Matej Cepl diff --git a/python-yamlloader.spec b/python-yamlloader.spec index e7dd336..36b8874 100644 --- a/python-yamlloader.spec +++ b/python-yamlloader.spec @@ -1,7 +1,7 @@ # # spec file for package python-yamlloader # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,26 +12,24 @@ # 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-yamlloader -Version: 0.5.5 +Version: 1.0.0 Release: 0 License: MIT Summary: Ordered YAML loader and dumper for PyYAML -Url: https://github.com/Phynix/yamlloader +URL: https://github.com/Phynix/yamlloader Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/y/yamlloader/yamlloader-%{version}.tar.gz -# PATCH-FIX-UPSTREAM happy_utf8.patch gh#Phynix/yamlloader#16 mcepl@suse.com -# Python 3.6 shouldn’t fail on opening utf8 encoded README.rst -Patch0: happy_utf8.patch -BuildRequires: python-rpm-macros +BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module PyYAML} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages diff --git a/yamlloader-0.5.5.tar.gz b/yamlloader-0.5.5.tar.gz deleted file mode 100644 index 300914f..0000000 --- a/yamlloader-0.5.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dcab5f16b39bb03d10dda4cd4f30c943675ec4c7771807fc67e7f1bb319bf4c8 -size 5793 diff --git a/yamlloader-1.0.0.tar.gz b/yamlloader-1.0.0.tar.gz new file mode 100644 index 0000000..de69af9 --- /dev/null +++ b/yamlloader-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e96dc3dc6895d814c330c054c966d993fc81ef1dbf5a30a4bdafeb256359e058 +size 7721