Hello community, here is the log from the commit of package python-azure-mgmt-consumption for openSUSE:Factory checked in at 2017-10-17 01:54:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-azure-mgmt-consumption (Old) and /work/SRC/openSUSE:Factory/.python-azure-mgmt-consumption.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-mgmt-consumption" Tue Oct 17 01:54:05 2017 rev:2 rq:534245 version:0.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-azure-mgmt-consumption/python-azure-mgmt-consumption.changes 2017-10-11 22:58:25.840588233 +0200 +++ /work/SRC/openSUSE:Factory/.python-azure-mgmt-consumption.new/python-azure-mgmt-consumption.changes 2017-10-17 01:54:06.733954286 +0200 @@ -1,0 +2,8 @@ +Mon Oct 9 14:41:11 UTC 2017 - adrian.glaub...@suse.com + +- Remove versioning for namespace packages in Requires +- Add namespace packages to BuildRequires +- Remove namespace files in %install target +- Explicitly specify Python files of the package in %files + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-azure-mgmt-consumption.spec ++++++ --- /var/tmp/diff_new_pack.JZ1VJ7/_old 2017-10-17 01:54:07.453920566 +0200 +++ /var/tmp/diff_new_pack.JZ1VJ7/_new 2017-10-17 01:54:07.457920379 +0200 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-azure-mgmt-consumption Version: 0.1.0 @@ -25,18 +26,18 @@ Url: https://github.com/Azure/azure-sdk-for-python Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-consumption/azure-mgmt-consumption-%{version}.zip Source1: LICENSE.txt +BuildRequires: %{python_module azure-mgmt-nspkg} +BuildRequires: %{python_module azure-nspkg} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildRequires: unzip -Requires: python-azure-nspkg < 3.0.0 -Requires: python-azure-nspkg >= 2.0.0 -Requires: python-azure-mgmt-nspkg < 3.0.0 -Requires: python-azure-mgmt-nspkg >= 2.0.0 -Requires: python-azure-common >= 1.1.5 Requires: python-azure-common < 2.0.0 -Requires: python-msrestazure >= 0.4.7 +Requires: python-azure-common >= 1.1.5 +Requires: python-azure-mgmt-nspkg +Requires: python-azure-nspkg Requires: python-msrestazure < 1.0.0 +Requires: python-msrestazure >= 0.4.7 Conflicts: python-azure-sdk <= 2.0.0 BuildArch: noarch @@ -60,14 +61,17 @@ %install %python_install +%{python_expand # delete common files +rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__init__.* +rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__pycache__ +rm -rf %{buildroot}%{$python_sitelib}/azure/__init__.* +rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__ +} %files %{python_files} %defattr(-,root,root,-) %doc LICENSE.txt README.rst -%exclude %{python2_sitelib}/azure/mgmt/__init__.*py* -%exclude %{python3_sitelib}/azure/mgmt/__pycache__/__init__.*py* -%exclude %{python2_sitelib}/azure/__init__.*py* -%exclude %{python3_sitelib}/azure/__pycache__/__init__.*py* -%{python_sitelib}/* +%{python_sitelib}/azure/mgmt/consumption +%{python_sitelib}/azure_mgmt_consumption-*.egg-info %changelog