From 48b4e56339ebb3ab5ef178aaf36d36f9e24f864624592e31d98d2bfdfab468ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 14 Mar 2019 14:53:39 +0000 Subject: [PATCH] - Update to 5.1: * many changes, see CHANGES OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyYAML?expand=0&rev=25 --- PyYAML-3.13.tar.gz | 3 --- PyYAML-5.1.tar.gz | 3 +++ python-PyYAML.changes | 6 ++++++ python-PyYAML.spec | 7 ++++--- 4 files changed, 13 insertions(+), 6 deletions(-) delete mode 100644 PyYAML-3.13.tar.gz create mode 100644 PyYAML-5.1.tar.gz diff --git a/PyYAML-3.13.tar.gz b/PyYAML-3.13.tar.gz deleted file mode 100644 index eaf310c..0000000 --- a/PyYAML-3.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf -size 270607 diff --git a/PyYAML-5.1.tar.gz b/PyYAML-5.1.tar.gz new file mode 100644 index 0000000..6723f71 --- /dev/null +++ b/PyYAML-5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:436bc774ecf7c103814098159fbb84c2715d25980175292c648f2da143909f95 +size 274244 diff --git a/python-PyYAML.changes b/python-PyYAML.changes index 3ee8b97..85eae2a 100644 --- a/python-PyYAML.changes +++ b/python-PyYAML.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 14 14:47:06 UTC 2019 - Tomáš Chvátal + +- Update to 5.1: + * many changes, see CHANGES + ------------------------------------------------------------------- Mon Jan 14 16:06:38 CET 2019 - kukuk@suse.de diff --git a/python-PyYAML.spec b/python-PyYAML.spec index 3e1189d..c344978 100644 --- a/python-PyYAML.spec +++ b/python-PyYAML.spec @@ -19,15 +19,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-PyYAML -Version: 3.13 +Version: 5.1 Release: 0 Summary: YAML parser and emitter for Python License: MIT Group: Development/Languages/Python -Url: http://pyyaml.org/wiki/PyYAML +URL: https://github.com/yaml/pyyaml Source: https://files.pythonhosted.org/packages/source/P/PyYAML/PyYAML-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: libyaml-devel BuildRequires: python-rpm-macros %ifpython2 @@ -62,6 +63,7 @@ find examples/ -type f | xargs chmod a-x %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check # Increase file-descriptor-count for ppc to make tests happy. @@ -71,7 +73,6 @@ ulimit -Sn 2048 %python_exec setup.py test %files %{python_files} -%defattr(-,root,root) %license LICENSE %doc CHANGES README examples/ %{python_sitearch}/yaml