Hello community,

here is the log from the commit of package azure-cli-consumption for 
openSUSE:Factory checked in at 2019-05-22 10:59:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-consumption (Old)
 and      /work/SRC/openSUSE:Factory/.azure-cli-consumption.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "azure-cli-consumption"

Wed May 22 10:59:30 2019 rev:5 rq:696826 version:0.4.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/azure-cli-consumption/azure-cli-consumption.changes  
    2018-10-15 10:47:13.803147239 +0200
+++ 
/work/SRC/openSUSE:Factory/.azure-cli-consumption.new.5148/azure-cli-consumption.changes
    2019-05-22 10:59:33.518803073 +0200
@@ -1,0 +2,16 @@
+Tue Apr 16 14:03:03 UTC 2019 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release
+  + Version 0.4.2
+  + For detailed information about changes see the
+    HISTORY.txt file provided with this package
+- Bump minimum version for Python Azure SDK namespace
+  packages to 3.0.0 in BuildRequires and Requires
+- Remove python3-devel package from BuildRequires
+- Remove unzip package from BuildRequires
+- Run fdupes to hardlink duplicate files
+  + Add fdupes to BuildRequires
+  + Add %fdupes invocation to %install
+- Update Requires from setup.py
+
+-------------------------------------------------------------------

Old:
----
  azure-cli-consumption-0.4.0.tar.gz

New:
----
  azure-cli-consumption-0.4.2.tar.gz

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

Other differences:
------------------
++++++ azure-cli-consumption.spec ++++++
--- /var/tmp/diff_new_pack.mpm7X8/_old  2019-05-22 10:59:34.022802420 +0200
+++ /var/tmp/diff_new_pack.mpm7X8/_new  2019-05-22 10:59:34.022802420 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package azure-cli-consumption
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:           azure-cli-consumption
-Version:        0.4.0
+Version:        0.4.2
 Release:        0
 Summary:        Microsoft Azure CLI 'consumption' Command Module
 License:        MIT
@@ -27,15 +27,14 @@
 Source1:        LICENSE.txt
 BuildRequires:  azure-cli-command-modules-nspkg
 BuildRequires:  azure-cli-nspkg
-BuildRequires:  python3-azure-nspkg
-BuildRequires:  python3-devel
+BuildRequires:  fdupes
+BuildRequires:  python3-azure-nspkg >= 3.0.0
 BuildRequires:  python3-setuptools
-BuildRequires:  unzip
 Requires:       azure-cli-command-modules-nspkg
 Requires:       azure-cli-core
 Requires:       azure-cli-nspkg
 Requires:       python3-azure-mgmt-consumption >= 2.0.0
-Requires:       python3-azure-nspkg
+Requires:       python3-azure-nspkg >= 3.0.0
 Conflicts:      azure-cli < 2.0.0
 
 BuildArch:      noarch
@@ -55,6 +54,7 @@
 
 %install
 python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} 
--install-lib=%{python3_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 rm -rf %{buildroot}%{python3_sitelib}/azure/cli/command_modules/__init__.*
 rm -rf %{buildroot}%{python3_sitelib}/azure/cli/command_modules/__pycache__
 rm -rf %{buildroot}%{python3_sitelib}/azure/cli/__init__.*

++++++ azure-cli-consumption-0.4.0.tar.gz -> azure-cli-consumption-0.4.2.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-consumption-0.4.0/HISTORY.rst 
new/azure-cli-consumption-0.4.2/HISTORY.rst
--- old/azure-cli-consumption-0.4.0/HISTORY.rst 2018-07-14 01:41:34.000000000 
+0200
+++ new/azure-cli-consumption-0.4.2/HISTORY.rst 2019-01-11 05:42:07.000000000 
+0100
@@ -3,6 +3,14 @@
 Release History
 ===============
 
+0.4.2
++++++
+* Bug fixes.
+
+0.4.1
++++++
+* Fixed bugs for budget API to show notifications.
+
 0.4.0
 +++++
 * BREAKING CHANGE: 'show' commands log error message and fail with exit code 
of 3 upon a missing resource.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-consumption-0.4.0/PKG-INFO 
new/azure-cli-consumption-0.4.2/PKG-INFO
--- old/azure-cli-consumption-0.4.0/PKG-INFO    2018-07-14 01:41:58.000000000 
+0200
+++ new/azure-cli-consumption-0.4.2/PKG-INFO    2019-01-11 05:42:39.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: azure-cli-consumption
-Version: 0.4.0
+Version: 0.4.2
 Summary: Microsoft Azure Command-Line Tools Consumption Command Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -20,6 +20,14 @@
         Release History
         ===============
         
+        0.4.2
+        +++++
+        * Bug fixes.
+        
+        0.4.1
+        +++++
+        * Fixed bugs for budget API to show notifications.
+        
         0.4.0
         +++++
         * BREAKING CHANGE: 'show' commands log error message and fail with 
exit code of 3 upon a missing resource.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-consumption-0.4.0/azure/cli/command_modules/consumption/_transformers.py
 
new/azure-cli-consumption-0.4.2/azure/cli/command_modules/consumption/_transformers.py
--- 
old/azure-cli-consumption-0.4.0/azure/cli/command_modules/consumption/_transformers.py
      2018-07-14 01:41:34.000000000 +0200
+++ 
new/azure-cli-consumption-0.4.2/azure/cli/command_modules/consumption/_transformers.py
      2019-01-11 05:42:07.000000000 +0100
@@ -78,6 +78,10 @@
     result.amount = str(result.amount)
     if result.current_spend:
         result.current_spend.amount = str(result.current_spend.amount)
+    if result.notifications:
+        for key in result.notifications:
+            value = result.notifications[key]
+            value.threshold = str(value.threshold)
     return result
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-consumption-0.4.0/azure/cli/command_modules/consumption/custom.py 
new/azure-cli-consumption-0.4.2/azure/cli/command_modules/consumption/custom.py
--- 
old/azure-cli-consumption-0.4.0/azure/cli/command_modules/consumption/custom.py 
    2018-07-14 01:41:34.000000000 +0200
+++ 
new/azure-cli-consumption-0.4.2/azure/cli/command_modules/consumption/custom.py 
    2019-01-11 05:42:07.000000000 +0100
@@ -108,7 +108,7 @@
     filters = client.models.Filters(resource_groups=resource_groups, 
resources=resources, meters=meters)
     parameters = client.models.Budget(category=category, amount=amount, 
time_grain=time_grain, time_period=time_period, filters=filters, 
notifications=None)
     if resource_group_name:
-        return client.create_or_update(resource_group_name, budget_name, 
parameters)
+        return 
client.create_or_update_by_resource_group_name(resource_group_name, 
budget_name, parameters)
     return client.create_or_update(budget_name, parameters)
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-consumption-0.4.0/azure_cli_consumption.egg-info/PKG-INFO 
new/azure-cli-consumption-0.4.2/azure_cli_consumption.egg-info/PKG-INFO
--- old/azure-cli-consumption-0.4.0/azure_cli_consumption.egg-info/PKG-INFO     
2018-07-14 01:41:58.000000000 +0200
+++ new/azure-cli-consumption-0.4.2/azure_cli_consumption.egg-info/PKG-INFO     
2019-01-11 05:42:39.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: azure-cli-consumption
-Version: 0.4.0
+Version: 0.4.2
 Summary: Microsoft Azure Command-Line Tools Consumption Command Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -20,6 +20,14 @@
         Release History
         ===============
         
+        0.4.2
+        +++++
+        * Bug fixes.
+        
+        0.4.1
+        +++++
+        * Fixed bugs for budget API to show notifications.
+        
         0.4.0
         +++++
         * BREAKING CHANGE: 'show' commands log error message and fail with 
exit code of 3 upon a missing resource.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-consumption-0.4.0/setup.py 
new/azure-cli-consumption-0.4.2/setup.py
--- old/azure-cli-consumption-0.4.0/setup.py    2018-07-14 01:41:34.000000000 
+0200
+++ new/azure-cli-consumption-0.4.2/setup.py    2019-01-11 05:42:07.000000000 
+0100
@@ -16,7 +16,7 @@
     cmdclass = {}
 
 
-VERSION = "0.4.0"
+VERSION = "0.4.2"
 # The full list of classifiers is available at
 # https://pypi.python.org/pypi?%3Aaction=list_classifiers
 CLASSIFIERS = [


Reply via email to