Hello community,

here is the log from the commit of package python3-ec2utilsbase for 
openSUSE:Factory checked in at 2018-02-24 16:39:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-ec2utilsbase (Old)
 and      /work/SRC/openSUSE:Factory/.python3-ec2utilsbase.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-ec2utilsbase"

Sat Feb 24 16:39:22 2018 rev:4 rq:579661 version:3.1.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python3-ec2utilsbase/python3-ec2utilsbase.changes    
    2018-02-21 14:12:50.003246725 +0100
+++ 
/work/SRC/openSUSE:Factory/.python3-ec2utilsbase.new/python3-ec2utilsbase.changes
   2018-02-24 16:39:31.073150738 +0100
@@ -1,0 +2,6 @@
+Fri Feb 23 20:58:59 UTC 2018 - rjsch...@suse.com
+
+- Update to version 3.1.2
+  + Support VPC target argument for temporary security group creation
+
+-------------------------------------------------------------------

Old:
----
  ec2utilsbase-3.1.1.tar.bz2

New:
----
  ec2utilsbase-3.1.2.tar.bz2

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

Other differences:
------------------
++++++ python3-ec2utilsbase.spec ++++++
--- /var/tmp/diff_new_pack.ZDeqzh/_old  2018-02-24 16:39:32.169111296 +0100
+++ /var/tmp/diff_new_pack.ZDeqzh/_new  2018-02-24 16:39:32.173111153 +0100
@@ -18,10 +18,10 @@
 
 %define upstream_name ec2utilsbase
 Name:           python3-ec2utilsbase
-Version:        3.1.1
+Version:        3.1.2
 Release:        0
 Summary:        Shared EC2 utils functionality
-License:        GPL-3.0+
+License:        GPL-3.0-or-later
 Group:          System/Management
 Url:            https://github.com/SUSE/Enceladus
 Source0:        %{upstream_name}-%{version}.tar.bz2

++++++ ec2utilsbase-3.1.1.tar.bz2 -> ec2utilsbase-3.1.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ec2utilsbase-3.1.1/lib/ec2utils/base_VERSION 
new/ec2utilsbase-3.1.2/lib/ec2utils/base_VERSION
--- old/ec2utilsbase-3.1.1/lib/ec2utils/base_VERSION    2018-02-13 
21:00:27.617558249 +0100
+++ new/ec2utilsbase-3.1.2/lib/ec2utils/base_VERSION    2018-02-21 
21:33:41.643993750 +0100
@@ -1 +1 @@
-3.1.1
+3.1.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ec2utilsbase-3.1.1/lib/ec2utils/ec2setup.py 
new/ec2utilsbase-3.1.2/lib/ec2utils/ec2setup.py
--- old/ec2utilsbase-3.1.1/lib/ec2utils/ec2setup.py     2018-02-13 
21:00:27.617558249 +0100
+++ new/ec2utilsbase-3.1.2/lib/ec2utils/ec2setup.py     2018-02-21 
21:33:41.643993750 +0100
@@ -56,20 +56,22 @@
             self._remove_vpc()
 
     # ---------------------------------------------------------------------
-    def create_security_group(self):
+    def create_security_group(self, vpc_id=None):
         if self.verbose:
             print('Creating temporary security group')
         group_name = 'ec2uploadimg-%s' % (random.randint(1, 100))
         group_description = 'ec2uploadimg created %s' % datetime.datetime.now()
+        if not vpc_id:
+            vpc_id = self.vpc_id
         response = self._connect().create_security_group(
             GroupName=group_name, Description=group_description,
-            VpcId=self.vpc_id
+            VpcId=vpc_id
         )
 
         self.security_group_id = response['GroupId']
         if self.verbose:
             print('Temporary Security Group Created %s in vpc %s'
-                  % (self.security_group_id, self.vpc_id))
+                  % (self.security_group_id, vpc_id))
         data = self._connect().authorize_security_group_ingress(
             GroupId=self.security_group_id,
             IpPermissions=[


Reply via email to