Hello community,

here is the log from the commit of package python-PyYAML for openSUSE:Factory 
checked in at 2017-03-09 01:43:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyYAML (Old)
 and      /work/SRC/openSUSE:Factory/.python-PyYAML.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyYAML"

Thu Mar  9 01:43:10 2017 rev:14 rq:477266 version:3.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyYAML/python-PyYAML.changes      
2017-02-27 18:35:44.540358130 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyYAML.new/python-PyYAML.changes 
2017-03-09 01:43:12.178797455 +0100
@@ -1,0 +2,6 @@
+Fri Mar  3 11:42:12 UTC 2017 - [email protected]
+
+- Use pythonhosted.org for the reference link.
+- Provide python-yaml instead of python2-yaml again.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-PyYAML.spec ++++++
--- /var/tmp/diff_new_pack.ytFWmZ/_old  2017-03-09 01:43:13.222649646 +0100
+++ /var/tmp/diff_new_pack.ytFWmZ/_new  2017-03-09 01:43:13.226649079 +0100
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define oldpython python
 Name:           python-PyYAML
 Version:        3.12
 Release:        0
@@ -24,17 +25,16 @@
 License:        MIT
 Group:          Development/Languages/Python
 Url:            http://pyyaml.org/wiki/PyYAML
-Source:         
https://pypi.io/packages/source/P/PyYAML/PyYAML-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/P/PyYAML/PyYAML-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  libyaml-devel
 BuildRequires:  python-rpm-macros
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %ifpython2
-Provides:       python-yaml = %{version}
-Obsoletes:      python-yaml < %{version}
+# python-yaml was last used in openSUSE 12.1.
+Provides:       %{oldpython}-yaml = %{version}
+Obsoletes:      %{oldpython}-yaml < %{version}
 %endif
-%python_subpackages
 
 %description
 YAML is a data serialization format designed for human readability
@@ -49,27 +49,30 @@
 PyYAML is applicable for a broad range of tasks from complex
 configuration files to object serialization and persistance.
 
+%python_subpackages
+
 %prep
 %setup -q -n PyYAML-%{version}
 
 %build
 export CFLAGS="%{optflags}"
 %python_build
-find examples -type f | xargs chmod -x # Fix example permissions
+# Fix example permissions.
+find examples/ -type f | xargs chmod a-x
 
 %install
 %python_install
 
 %check
-#increase file-descriptor-count for ppc to make tests happy
+# Increase file-descriptor-count for ppc to make tests happy.
 %ifarch ppc ppc64 s390 s390x
 ulimit -Sn 2048
 %endif
 %python_exec setup.py test
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc CHANGES LICENSE README examples
+%defattr(-,root,root)
+%doc CHANGES LICENSE README examples/
 %{python_sitearch}/yaml
 %{python_sitearch}/_yaml.*so
 %{python_sitearch}/PyYAML-%{version}-py%{python_version}.egg-info


Reply via email to