Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cpuset for openSUSE:Factory checked 
in at 2021-11-17 01:14:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cpuset (Old)
 and      /work/SRC/openSUSE:Factory/.cpuset.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cpuset"

Wed Nov 17 01:14:11 2021 rev:32 rq:931749 version:1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/cpuset/cpuset.changes    2018-12-12 
17:29:46.710778595 +0100
+++ /work/SRC/openSUSE:Factory/.cpuset.new.1890/cpuset.changes  2021-11-17 
01:15:22.102191007 +0100
@@ -1,0 +2,6 @@
+Fri Nov 12 14:37:33 UTC 2021 - Libor Pechacek <[email protected]>
+
+- Add cpuset-1.6-Fix_invalid_parentheses.patch to fix 
+  a semantic error. (bsc#1191418)
+
+-------------------------------------------------------------------

New:
----
  cpuset-1.6-Fix_invalid_parentheses.patch

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

Other differences:
------------------
++++++ cpuset.spec ++++++
--- /var/tmp/diff_new_pack.pu67b2/_old  2021-11-17 01:15:22.682191034 +0100
+++ /var/tmp/diff_new_pack.pu67b2/_new  2021-11-17 01:15:22.686191034 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cpuset
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2008-2011 Novell, Inc. Waltham, MA, USA
 #
 # All modifications and additions to the file contributed by third parties
@@ -33,8 +33,9 @@
 Summary:        Cpuset manipulation tool
 License:        GPL-2.0-only
 Group:          System/Management
-Url:            https://github.com/lpechacek/cpuset
+URL:            https://github.com/lpechacek/cpuset
 Source:         https://github.com/lpechacek/cpuset/archive/v%{version}.tar.gz
+Patch0:         cpuset-1.6-Fix_invalid_parentheses.patch
 BuildRequires:  %{pyver}-setuptools
 Requires:       %{pyver}-future
 
@@ -47,6 +48,7 @@
 
 %prep
 %setup -q
+%autopatch -p1
 
 %build
 %{pyver} setup.py build

++++++ cpuset-1.6-Fix_invalid_parentheses.patch ++++++
>From a4b6b275d0a43d2794ab9e82922d3431aeea9903 Mon Sep 17 00:00:00 2001
From: Markus <[email protected]>
Date: Tue, 25 Aug 2020 18:56:34 +0300
Subject: [PATCH] Fix invalid parentheses

Acked-by: Libor Pechacek <[email protected]>
---
 cpuset/commands/set.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpuset/commands/set.py b/cpuset/commands/set.py
index c71f37f..7d0d382 100644
--- a/cpuset/commands/set.py
+++ b/cpuset/commands/set.py
@@ -484,7 +484,7 @@ def set_details(name, indent=None, width=None, 
usehex=False):
     if width != 0 and len(tst) > width:
         target = width - len(out)
         patha = set.path[:len(set.path)//2-3]
-        pathb = set.path[len(set.path//2):]
+        pathb = set.path[len(set.path)//2:]
         patha = patha[:target//2-3]
         pathb = pathb[-target//2:]
         out += patha + '...' + pathb

Reply via email to