Hello community, here is the log from the commit of package python-azure-cognitiveservices-vision-nspkg for openSUSE:Factory checked in at 2019-05-14 13:40:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-azure-cognitiveservices-vision-nspkg (Old) and /work/SRC/openSUSE:Factory/.python-azure-cognitiveservices-vision-nspkg.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-cognitiveservices-vision-nspkg" Tue May 14 13:40:32 2019 rev:3 rq:696894 version:3.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-azure-cognitiveservices-vision-nspkg/python-azure-cognitiveservices-vision-nspkg.changes 2018-09-26 16:13:11.527309877 +0200 +++ /work/SRC/openSUSE:Factory/.python-azure-cognitiveservices-vision-nspkg.new.5148/python-azure-cognitiveservices-vision-nspkg.changes 2019-05-14 13:40:36.604290687 +0200 @@ -1,0 +2,15 @@ +Thu Apr 11 10:55:03 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- New upstream release + + Version 3.0.1 +- Bump minimum version for namespace packages + to 3.0.0 in BuildRequires and Requires +- Remove python-devel package from BuildRequires +- Run fdupes to hardlink duplicate files + + Add fdupes to BuildRequires + + Add %fdupes invocation to %install +- Switch to implicit namespace packages on Python 3 (PEP 420) + + Create an empty python_sitelib directory on Python 3 +- Update BuildRequires and Requires from setup.py + +------------------------------------------------------------------- Old: ---- azure-cognitiveservices-vision-nspkg-2.0.0.zip New: ---- azure-cognitiveservices-vision-nspkg-3.0.1.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-azure-cognitiveservices-vision-nspkg.spec ++++++ --- /var/tmp/diff_new_pack.Haiw1A/_old 2019-05-14 13:40:37.176291877 +0200 +++ /var/tmp/diff_new_pack.Haiw1A/_new 2019-05-14 13:40:37.180291884 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-azure-cognitiveservices-vision-nspkg # -# Copyright (c) 2018 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,13 +12,13 @@ # 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-azure-cognitiveservices-vision-nspkg -Version: 2.0.0 +Version: 3.0.1 Release: 0 Summary: Microsoft Azure Cognitive Services Vision namespace package License: MIT @@ -26,14 +26,14 @@ Url: https://github.com/Azure/azure-sdk-for-python Source: https://files.pythonhosted.org/packages/source/a/azure-cognitiveservices-vision-nspkg/azure-cognitiveservices-vision-nspkg-%{version}.zip Source1: LICENSE.txt -BuildRequires: %{python_module azure-cognitiveservices-nspkg} -BuildRequires: %{python_module azure-nspkg} -BuildRequires: %{python_module devel} +BuildRequires: %{python_module azure-cognitiveservices-nspkg >= 3.0.0} +BuildRequires: %{python_module azure-nspkg >= 3.0.0} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip -Requires: python-azure-cognitiveservices-nspkg -Requires: python-azure-nspkg +Requires: python-azure-cognitiveservices-nspkg >= 3.0.0 +Requires: python-azure-nspkg >= 3.0.0 Conflicts: python-azure-sdk <= 2.0.0 BuildArch: noarch @@ -56,12 +56,16 @@ %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +mkdir -p %{buildroot}%{python2_sitelib}/azure/cognitiveservices/vision +mkdir -p %{buildroot}%{python3_sitelib}/azure/cognitiveservices/vision %files %{python_files} %defattr(-,root,root,-) %doc README.rst %license LICENSE.txt -%{python_sitelib}/azure/cognitiveservices/vision +%python2_only %{python2_sitelib}/azure/cognitiveservices/vision +%python3_only %dir %{python3_sitelib}/azure/cognitiveservices/vision %{python_sitelib}/azure_cognitiveservices_vision_nspkg-*.egg-info %changelog