Hello community,

here is the log from the commit of package apparmor for openSUSE:Factory 
checked in at 2017-02-19 00:45:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apparmor (Old)
 and      /work/SRC/openSUSE:Factory/.apparmor.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apparmor"

Changes:
--------
--- /work/SRC/openSUSE:Factory/apparmor/apparmor.changes        2017-02-11 
01:33:47.991524735 +0100
+++ /work/SRC/openSUSE:Factory/.apparmor.new/apparmor.changes   2017-02-19 
00:45:49.363978340 +0100
@@ -1,0 +2,6 @@
+Thu Feb 16 14:08:55 UTC 2017 - [email protected]
+
+- add python3-drop-re-locale.patch: remove deprecated re.LOCALE
+  flag in Python UI as it was dropped from Python 3.6 (lp#1661766)
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/apparmor/libapparmor.changes     2017-02-11 
01:33:48.099509496 +0100
+++ /work/SRC/openSUSE:Factory/.apparmor.new/libapparmor.changes        
2017-02-19 00:45:49.403972712 +0100
@@ -1,0 +2,5 @@
+Sat Feb 11 11:33:16 UTC 2017 - [email protected]
+
+- Fix RPM groups
+
+-------------------------------------------------------------------

New:
----
  python3-drop-re-locale.patch

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

Other differences:
------------------
++++++ apparmor.spec ++++++
--- /var/tmp/diff_new_pack.dOmejG/_old  2017-02-19 00:45:50.371836496 +0100
+++ /var/tmp/diff_new_pack.dOmejG/_new  2017-02-19 00:45:50.371836496 +0100
@@ -85,6 +85,9 @@
 # upstream changes (trunk r3616..3628)
 Patch9:         upstream-changes-r3616..3628.diff
 
+# drop deprecated re.LOCALE flag from regexps
+Patch10:        python3-drop-re-locale.patch
+
 PreReq:         sed
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if %{distro} == "suse"
@@ -392,6 +395,9 @@
 %patch7 -p1
 %patch8
 %patch9
+%if %{with python3}
+%patch10 -p1
+%endif
 
 # search for left-over multiline rules
 test -z "$(grep -r '^\s*\(unix\|dbus\)[^,]\(([^)]*)\)*[^,]*$' 
profiles/apparmor.d/)"

++++++ libapparmor.spec ++++++
--- /var/tmp/diff_new_pack.dOmejG/_old  2017-02-19 00:45:50.403831993 +0100
+++ /var/tmp/diff_new_pack.dOmejG/_new  2017-02-19 00:45:50.407831430 +0100
@@ -40,7 +40,7 @@
 
 %package -n libapparmor1
 Summary:        Utility library for AppArmor
-Group:          Development/Libraries/C and C++
+Group:          System/Libraries
 %ifarch ppc64
 Obsoletes:      libapparmor-64bit < 2.9
 Provides:       libapparmor-64bit = %{version}



++++++ python3-drop-re-locale.patch ++++++
Index: apparmor-2.11.0/utils/apparmor/ui.py
===================================================================
--- apparmor-2.11.0.orig/utils/apparmor/ui.py
+++ apparmor-2.11.0/utils/apparmor/ui.py
@@ -64,8 +64,8 @@ def get_translated_hotkey(translated, cm
     msg = 'PromptUser: ' + _('Invalid hotkey for')
 
     # Originally (\S) was used but with translations it would not work :(
-    if re.search('\((\S+)\)', translated, re.LOCALE):
-        return re.search('\((\S+)\)', translated, re.LOCALE).groups()[0]
+    if re.search('\((\S+)\)', translated):
+        return re.search('\((\S+)\)', translated).groups()[0]
     else:
         if cmsg:
             raise AppArmorException(cmsg)

Reply via email to